Uses of Class
nonapi.io.github.classgraph.json.ReferenceEqualityKey
Packages that use ReferenceEqualityKey
-
Uses of ReferenceEqualityKey in nonapi.io.github.classgraph.json
Method parameters in nonapi.io.github.classgraph.json with type arguments of type ReferenceEqualityKeyModifier and TypeMethodDescriptionprivate static void
JSONSerializer.assignObjectIds
(Object jsonVal, Map<ReferenceEqualityKey<Object>, JSONObject> objToJSONVal, ClassFieldCache classFieldCache, Map<ReferenceEqualityKey<JSONReference>, CharSequence> jsonReferenceToId, AtomicInteger objId, boolean onlySerializePublicFields) Create a unique id for each referenced JSON object.private static void
JSONSerializer.convertVals
(Object[] convertedVals, Set<ReferenceEqualityKey<Object>> visitedOnPath, Set<ReferenceEqualityKey<Object>> standardObjectVisited, ClassFieldCache classFieldCache, Map<ReferenceEqualityKey<Object>, JSONObject> objToJSONVal, boolean onlySerializePublicFields) Take an array of object values, and recursively convert them (in place) into JSON values.private static void
JSONSerializer.convertVals
(Object[] convertedVals, Set<ReferenceEqualityKey<Object>> visitedOnPath, Set<ReferenceEqualityKey<Object>> standardObjectVisited, ClassFieldCache classFieldCache, Map<ReferenceEqualityKey<Object>, JSONObject> objToJSONVal, boolean onlySerializePublicFields) Take an array of object values, and recursively convert them (in place) into JSON values.(package private) static void
JSONSerializer.jsonValToJSONString
(Object jsonVal, Map<ReferenceEqualityKey<JSONReference>, CharSequence> jsonReferenceToId, boolean includeNullValuedFields, int depth, int indentWidth, StringBuilder buf) Serialize a JSON object, array, or value.private static Object
JSONSerializer.toJSONGraph
(Object obj, Set<ReferenceEqualityKey<Object>> visitedOnPath, Set<ReferenceEqualityKey<Object>> standardObjectVisited, ClassFieldCache classFieldCache, Map<ReferenceEqualityKey<Object>, JSONObject> objToJSONVal, boolean onlySerializePublicFields) Turn an object graph into a graph of JSON objects, arrays, and values.private static Object
JSONSerializer.toJSONGraph
(Object obj, Set<ReferenceEqualityKey<Object>> visitedOnPath, Set<ReferenceEqualityKey<Object>> standardObjectVisited, ClassFieldCache classFieldCache, Map<ReferenceEqualityKey<Object>, JSONObject> objToJSONVal, boolean onlySerializePublicFields) Turn an object graph into a graph of JSON objects, arrays, and values.(package private) void
JSONArray.toJSONString
(Map<ReferenceEqualityKey<JSONReference>, CharSequence> jsonReferenceToId, boolean includeNullValuedFields, int depth, int indentWidth, StringBuilder buf) Serialize this JSONArray to a string.(package private) void
JSONObject.toJSONString
(Map<ReferenceEqualityKey<JSONReference>, CharSequence> jsonReferenceToId, boolean includeNullValuedFields, int depth, int indentWidth, StringBuilder buf) Serialize this JSONObject to a string.