Class JohnzonSerializationContext

  • All Implemented Interfaces:
    jakarta.json.bind.serializer.SerializationContext

    public class JohnzonSerializationContext
    extends Object
    implements jakarta.json.bind.serializer.SerializationContext
    • Constructor Detail

      • JohnzonSerializationContext

        public JohnzonSerializationContext​(MappingGenerator runtime)
    • Method Detail

      • serialize

        public <T> void serialize​(String key,
                                  T object,
                                  jakarta.json.stream.JsonGenerator generator)
        Specified by:
        serialize in interface jakarta.json.bind.serializer.SerializationContext
      • serialize

        public <T> void serialize​(T object,
                                  jakarta.json.stream.JsonGenerator generator)
        Specified by:
        serialize in interface jakarta.json.bind.serializer.SerializationContext