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

public abstract class KeyValueJsonSerializer<T> extends ValueJsonSerializer<T>
Key value JSON serializer.
  • 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.