@ProviderType
public interface JSONFactory
Modifier and Type | Method and Description |
---|---|
String |
convertJSONMLArrayToXML(String jsonml) |
String |
convertJSONMLObjectToXML(String jsonml) |
String |
convertXMLtoJSONMLArray(String xml) |
String |
convertXMLtoJSONMLObject(String xml) |
JSONTransformer |
createJavaScriptNormalizerJSONTransformer(List<String> javaScriptAttributes) |
JSONArray |
createJSONArray() |
JSONArray |
createJSONArray(Collection<?> collection) |
JSONArray |
createJSONArray(String json) |
<T> JSONArray |
createJSONArray(T[] array) |
<T> JSONDeserializer<T> |
createJSONDeserializer() |
JSONObject |
createJSONObject() |
JSONObject |
createJSONObject(String json) |
JSONSerializer |
createJSONSerializer() |
JSONValidator |
createJSONValidator(String jsonSchema)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
Object |
deserialize(JSONObject jsonObj) |
Object |
deserialize(String json) |
String |
getNullJSON() |
JSONObject |
getUnmodifiableJSONObject() |
Object |
looseDeserialize(String json) |
<T> T |
looseDeserialize(String json,
Class<T> clazz) |
String |
looseSerialize(Object object) |
String |
looseSerialize(Object object,
JSONTransformer jsonTransformer,
Class<?> clazz) |
String |
looseSerialize(Object object,
String... includes) |
String |
looseSerializeDeep(Object object) |
String |
looseSerializeDeep(Object object,
JSONTransformer jsonTransformer,
Class<?> clazz) |
String |
serialize(Object object) |
String |
serializeThrowable(Throwable throwable) |
String convertJSONMLArrayToXML(String jsonml)
String convertJSONMLObjectToXML(String jsonml)
String convertXMLtoJSONMLArray(String xml)
String convertXMLtoJSONMLObject(String xml)
JSONTransformer createJavaScriptNormalizerJSONTransformer(List<String> javaScriptAttributes)
JSONArray createJSONArray()
JSONArray createJSONArray(Collection<?> collection)
JSONArray createJSONArray(String json) throws JSONException
JSONException
<T> JSONArray createJSONArray(T[] array)
<T> JSONDeserializer<T> createJSONDeserializer()
JSONObject createJSONObject()
JSONObject createJSONObject(String json) throws JSONException
JSONException
JSONSerializer createJSONSerializer()
@Deprecated JSONValidator createJSONValidator(String jsonSchema) throws JSONException
JSONException
Object deserialize(JSONObject jsonObj)
Object deserialize(String json)
String getNullJSON()
JSONObject getUnmodifiableJSONObject()
Object looseDeserialize(String json)
<T> T looseDeserialize(String json, Class<T> clazz)
String looseSerialize(Object object)
String looseSerialize(Object object, JSONTransformer jsonTransformer, Class<?> clazz)
String looseSerialize(Object object, String... includes)
String looseSerializeDeep(Object object)
String looseSerializeDeep(Object object, JSONTransformer jsonTransformer, Class<?> clazz)
String serialize(Object object)
String serializeThrowable(Throwable throwable)