Uses of Class
com.github.openjson.JSONStringer
-
Uses of JSONStringer in com.github.openjson
Methods in com.github.openjson that return JSONStringerModifier and TypeMethodDescriptionJSONStringer.array()Begins encoding a new array.protected JSONStringerCreates String representation of the key (property name) to this stringer Override this method to provide your own representation of the name.JSONStringer.endArray()Ends encoding the current array.JSONStringer.endObject()Ends encoding the current object.Encodeskey/valuepair to this stringer.Encodes the key (property name) to this stringer.JSONStringer.object()Begins encoding a new object.JSONStringer.value(boolean value) Encodesvalueto this stringer.JSONStringer.value(double value) Encodesvalueto this stringer.JSONStringer.value(long value) Encodesvalueto this stringer.Encodesvalue.Methods in com.github.openjson with parameters of type JSONStringerModifier and TypeMethodDescriptionprotected voidJSONArray.encode(JSONStringer stringer) Encodes this array usingJSONStringerprovidedprotected voidJSONObject.encode(JSONStringer stringer) Encodes this object usingJSONStringerprovidedJSONArray.toString(JSONStringer stringer) Encodes this array usingJSONStringerprovidedJSONObject.toString(JSONStringer stringer) Encodes this object usingJSONStringerprovided