- java.lang.Object
-
- io.github.mmm.marshall.jsonp.JsonpMarshalling
-
public final class JsonpMarshalling extends Object
ProvidesStructuredFormat
for JSON based on JSON-P.- Since:
- 1.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StructuredFormat
of()
static StructuredFormat
of(MarshallingConfig config)
static StructuredFormat
of(javax.json.stream.JsonParserFactory readerFactory, javax.json.stream.JsonGeneratorFactory writerFactory, MarshallingConfig config)
-
-
-
Method Detail
-
of
public static StructuredFormat of()
- Returns:
- the default instance of
StructuredFormat
for JSON based on JSON-P.
-
of
public static StructuredFormat of(MarshallingConfig config)
- Parameters:
config
- theMap
with the configuration properties for the JSON vendor implementation.- Returns:
- a new instance of
StructuredFormat
for JSON based on JSON-P.
-
of
public static StructuredFormat of(javax.json.stream.JsonParserFactory readerFactory, javax.json.stream.JsonGeneratorFactory writerFactory, MarshallingConfig config)
- Parameters:
readerFactory
- theJsonParserFactory
.writerFactory
- theJsonGeneratorFactory
.config
- theMarshallingConfig
for the JSON vendor implementation.- Returns:
- a new instance of
StructuredFormat
for JSON based on JSON-P.
-
-