Class JohnzonDeserializationContext
- java.lang.Object
-
- org.apache.johnzon.jsonb.serializer.JohnzonDeserializationContext
-
- All Implemented Interfaces:
jakarta.json.bind.serializer.DeserializationContext
public class JohnzonDeserializationContext extends Object implements jakarta.json.bind.serializer.DeserializationContext
-
-
Field Summary
Fields Modifier and Type Field Description private jakarta.json.JsonBuilderFactory
builderFactory
private jakarta.json.spi.JsonProvider
jsonp
private MappingParser
runtime
-
Constructor Summary
Constructors Constructor Description JohnzonDeserializationContext(MappingParser runtime, jakarta.json.JsonBuilderFactory builderFactory, jakarta.json.spi.JsonProvider jsonp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
deserialize(Class<T> clazz, jakarta.json.stream.JsonParser parser)
<T> T
deserialize(Type type, jakarta.json.stream.JsonParser parser)
private void
parseArray(jakarta.json.stream.JsonParser parser, jakarta.json.JsonArrayBuilder builder)
private void
parseObject(String originalKey, jakarta.json.stream.JsonParser parser, jakarta.json.JsonObjectBuilder builder)
private jakarta.json.JsonValue
read(jakarta.json.stream.JsonParser parser)
-
-
-
Field Detail
-
runtime
private final MappingParser runtime
-
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 interfacejakarta.json.bind.serializer.DeserializationContext
-
deserialize
public <T> T deserialize(Type type, jakarta.json.stream.JsonParser parser)
- Specified by:
deserialize
in interfacejakarta.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)
-
-