- java.lang.Object
-
- io.github.mmm.marshall.jsonp.JsonpMarshalling
-
public final class JsonpMarshalling extends Object
ProvidesStructuredFormatfor JSON based on JSON-P.- Since:
- 1.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StructuredFormatof()static StructuredFormatof(MarshallingConfig config)static StructuredFormatof(javax.json.stream.JsonParserFactory readerFactory, javax.json.stream.JsonGeneratorFactory writerFactory, MarshallingConfig config)
-
-
-
Method Detail
-
of
public static StructuredFormat of()
- Returns:
- the default instance of
StructuredFormatfor JSON based on JSON-P.
-
of
public static StructuredFormat of(MarshallingConfig config)
- Parameters:
config- theMapwith the configuration properties for the JSON vendor implementation.- Returns:
- a new instance of
StructuredFormatfor 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- theMarshallingConfigfor the JSON vendor implementation.- Returns:
- a new instance of
StructuredFormatfor JSON based on JSON-P.
-
-