Module org.eclipse.persistence.core
Package org.eclipse.persistence.oxm.json
Class JsonStructureSource
java.lang.Object
org.eclipse.persistence.internal.oxm.record.ExtendedSource
org.eclipse.persistence.oxm.json.JsonStructureSource
- All Implemented Interfaces:
Source
Object to be used with Unmarshaller to unmarshal jakarta.json.JsonStructure objects
(ie: jakarta.json.JsonObject or jakarta.json.JsonArray)
Usage:
JsonStructureSource source = new JsonStructureSource(jsonObject);
Object unmarshalled = jaxbUnmarshaller.unmarshal(source);
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateReader
(Unmarshaller unmarshaller) createReader
(Unmarshaller unmarshaller, Class<?> unmarshalClass) Methods inherited from class org.eclipse.persistence.internal.oxm.record.ExtendedSource
getSystemId, setSystemId
-
Constructor Details
-
JsonStructureSource
-
-
Method Details
-
getJsonStructure
-
createReader
- Specified by:
createReader
in classExtendedSource
-
createReader
- Specified by:
createReader
in classExtendedSource
-