Class JohnzonDeserializationContext

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

    public class JohnzonDeserializationContext
    extends Object
    implements jakarta.json.bind.serializer.DeserializationContext
    • Field Detail

      • builderFactory

        private final jakarta.json.JsonBuilderFactory builderFactory
      • jsonp

        private final jakarta.json.spi.JsonProvider jsonp
    • Constructor Detail

      • JohnzonDeserializationContext

        public JohnzonDeserializationContext​(MappingParser runtime,
                                             jakarta.json.JsonBuilderFactory builderFactory,
                                             jakarta.json.spi.JsonProvider jsonp)
    • Method Detail

      • deserialize

        public <T> T deserialize​(Class<T> clazz,
                                 jakarta.json.stream.JsonParser parser)
        Specified by:
        deserialize in interface jakarta.json.bind.serializer.DeserializationContext
      • deserialize

        public <T> T deserialize​(Type type,
                                 jakarta.json.stream.JsonParser parser)
        Specified by:
        deserialize in interface jakarta.json.bind.serializer.DeserializationContext
      • read

        private jakarta.json.JsonValue read​(jakarta.json.stream.JsonParser parser)
      • parseObject

        private void parseObject​(String originalKey,
                                 jakarta.json.stream.JsonParser parser,
                                 jakarta.json.JsonObjectBuilder builder)
      • parseArray

        private void parseArray​(jakarta.json.stream.JsonParser parser,
                                jakarta.json.JsonArrayBuilder builder)