/** * Create a new Empty ServiceResponse based on the given JSON string. * Any missing values will be set to their defaults. * * @param jsonString * The JSON string to parse. * @return A Empty ServiceResponse based on the given JSON string. */ public static Response fromJsonString(String jsonString) { // convert to a ServiceResponse return Empty.Response.fromServiceResponse(new ServiceResponse( jsonString, true)); }
/** * Create a new Empty ServiceResponse based on the given JSON string. * Any missing values will be set to their defaults. * * @param jsonString * The JSON string to parse. * @return A Empty ServiceResponse based on the given JSON string. */ public static Response fromJsonString(String jsonString) { // convert to a ServiceResponse return Empty.Response.fromServiceResponse(new ServiceResponse( jsonString, true)); }