- java.lang.Object
-
- io.helidon.media.jsonp.common.JsonProcessing
-
public final class JsonProcessing extends Object
Support for JSON Processing integration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJsonProcessing.BuilderFluent-API builder forJsonProcessing.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonProcessing.Builderbuilder()Fluent API builder to create instances of JSON-P.static JsonProcessingcreate()Provides a default instance for JSON-P readers and writers.static JsonProcessingcreate(Map<String,?> jsonPConfig)Create an instance with the provided JSON-P configuration.JsonpBodyReadernewReader()Create a new JSON-P entity reader.JsonpBodyWriternewWriter()Create a new JSON-P entity writer.
-
-
-
Method Detail
-
newReader
public JsonpBodyReader newReader()
Create a new JSON-P entity reader.- Returns:
- JsonEntityReader
-
newWriter
public JsonpBodyWriter newWriter()
Create a new JSON-P entity writer.- Returns:
- JsonEntityWriter
-
create
public static JsonProcessing create()
Provides a default instance for JSON-P readers and writers.- Returns:
- json processing with default configuration
-
create
public static JsonProcessing create(Map<String,?> jsonPConfig)
Create an instance with the provided JSON-P configuration.- Parameters:
jsonPConfig- configuration of the processing library- Returns:
- a configured JSON-P instance
-
builder
public static JsonProcessing.Builder builder()
Fluent API builder to create instances of JSON-P.- Returns:
- a new builder instance
-
-