Package nonapi.io.github.classgraph.json
Class JSONArray
- java.lang.Object
-
- nonapi.io.github.classgraph.json.JSONArray
-
class JSONArray extends java.lang.ObjectAn intermediate object in the (de)serialization process, representing a JSON array.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<java.lang.Object>itemsArray items.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidtoJSONString(java.util.Map<ReferenceEqualityKey<JSONReference>,java.lang.CharSequence> jsonReferenceToId, boolean includeNullValuedFields, int depth, int indentWidth, java.lang.StringBuilder buf)Serialize this JSONArray to a string.
-
-
-
Method Detail
-
toJSONString
void toJSONString(java.util.Map<ReferenceEqualityKey<JSONReference>,java.lang.CharSequence> jsonReferenceToId, boolean includeNullValuedFields, int depth, int indentWidth, java.lang.StringBuilder buf)
Serialize this JSONArray to a string.- Parameters:
jsonReferenceToId- the map from json reference to idincludeNullValuedFields- whether to include null-valued fieldsdepth- the nesting depthindentWidth- the indent widthbuf- the buf
-
-