@ProviderType public class JSONFactoryUtil extends Object
Constructor and Description |
---|
JSONFactoryUtil() |
public static JSONTransformer createJavaScriptNormalizerJSONTransformer(List<String> javaScriptAttributes)
public static JSONArray createJSONArray()
public static JSONArray createJSONArray(String json) throws JSONException
JSONException
public static <T> JSONDeserializer<T> createJSONDeserializer()
public static JSONObject createJSONObject()
public static JSONObject createJSONObject(String json) throws JSONException
JSONException
public static JSONSerializer createJSONSerializer()
public static JSONValidator createJSONValidator(String jsonSchema) throws JSONException
JSONException
public static Object deserialize(JSONObject jsonObj)
public static JSONFactory getJSONFactory()
public static String getNullJSON()
public static JSONObject getUnmodifiableJSONObject()
public static String looseSerialize(Object object, JSONTransformer jsonTransformer, Class<?> clazz)
public static String looseSerializeDeep(Object object, JSONTransformer jsonTransformer, Class<?> clazz)
public void setJSONFactory(JSONFactory jsonFactory)