Class JsonParserSource

  • All Implemented Interfaces:
    Source

    public final class JsonParserSource
    extends org.eclipse.persistence.internal.oxm.record.ExtendedSource
    Object to be used with Unmarshaller to unmarshal JsonParser objects Usage: JsonParserSource source = new JsonParserSource(jsonParser); Object unmarshalled = jaxbUnmarshaller.unmarshal(source);
    • Constructor Detail

      • JsonParserSource

        public JsonParserSource​(jakarta.json.stream.JsonParser parser)
    • Method Detail

      • getParser

        public jakarta.json.stream.JsonParser getParser()
      • createReader

        public org.eclipse.persistence.internal.oxm.record.XMLReader createReader​(org.eclipse.persistence.internal.oxm.Unmarshaller unmarshaller)
        Specified by:
        createReader in class org.eclipse.persistence.internal.oxm.record.ExtendedSource
      • createReader

        public org.eclipse.persistence.internal.oxm.record.XMLReader createReader​(org.eclipse.persistence.internal.oxm.Unmarshaller unmarshaller,
                                                                                  Class unmarshalClass)
        Specified by:
        createReader in class org.eclipse.persistence.internal.oxm.record.ExtendedSource