Class JsonpMarshalling


  • public final class JsonpMarshalling
    extends Object
    Provides StructuredFormat for JSON based on JSON-P.
    Since:
    1.0.0
    • Method Detail

      • of

        public static StructuredFormat of​(javax.json.stream.JsonParserFactory readerFactory,
                                          javax.json.stream.JsonGeneratorFactory writerFactory,
                                          MarshallingConfig config)
        Parameters:
        readerFactory - the JsonParserFactory.
        writerFactory - the JsonGeneratorFactory.
        config - the MarshallingConfig for the JSON vendor implementation.
        Returns:
        a new instance of StructuredFormat for JSON based on JSON-P.