Uses of Interface
jakarta.json.stream.JsonParser
Package
Description
Provides an object model API to process JSON.
Defines serializer depending classes.
Service Provider Interface (SPI) to plug in implementations for
JSON processing objects.
Provides a streaming API to parse and generate
JSON.
-
Uses of JsonParser in jakarta.json
Modifier and TypeMethodDescriptionstatic JsonParser
Json.createParser
(InputStream in) Creates a JSON parser from a byte stream.static JsonParser
Json.createParser
(Reader reader) Creates a JSON parser from a character stream. -
Uses of JsonParser in jakarta.json.bind.serializer
Modifier and TypeMethodDescription<T> T
DeserializationContext.deserialize
(Class<T> clazz, JsonParser parser) Deserialize JSON stream into instance of provided class usingJsonParser
.<T> T
DeserializationContext.deserialize
(Type type, JsonParser parser) Deserialize JSON stream into instance of provided class usingJsonParser
.JsonbDeserializer.deserialize
(JsonParser parser, DeserializationContext ctx, Type rtType) Deserialize JSON stream into object. -
Uses of JsonParser in jakarta.json.spi
Modifier and TypeMethodDescriptionabstract JsonParser
JsonProvider.createParser
(InputStream in) Creates a JSON parser from the specified byte stream.abstract JsonParser
JsonProvider.createParser
(Reader reader) Creates a JSON parser from a character stream. -
Uses of JsonParser in jakarta.json.stream
Modifier and TypeMethodDescriptionJsonParserFactory.createParser
(JsonArray array) Creates a JSON parser from the specified JSON array.JsonParserFactory.createParser
(JsonObject obj) Creates a JSON parser from the specified JSON object.JsonParserFactory.createParser
(InputStream in) Creates a JSON parser from the specified byte stream.JsonParserFactory.createParser
(InputStream in, Charset charset) Creates a JSON parser from the specified byte stream.JsonParserFactory.createParser
(Reader reader) Creates a JSON parser from a character stream.