Class KeyValueJsonSerializer<T>
java.lang.Object
jodd.json.impl.ValueJsonSerializer<T>
jodd.json.impl.KeyValueJsonSerializer<T>
- All Implemented Interfaces:
TypeJsonSerializer<T>
- Direct Known Subclasses:
JsonObjectSerializer, MapJsonSerializer
Key value JSON serializer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intserializeKeyValue(JsonContext jsonContext, Path currentPath, Object key, Object value, int count) Serializes key and a value.Methods inherited from class ValueJsonSerializer
serialize, serializeValue
-
Constructor Details
-
KeyValueJsonSerializer
public KeyValueJsonSerializer()
-
-
Method Details
-
serializeKeyValue
protected int serializeKeyValue(JsonContext jsonContext, Path currentPath, Object key, Object value, int count) Serializes key and a value.
-