Class NXJsonUnmarshaller
java.lang.Object
com.unboundid.scim.marshal.json.JsonUnmarshaller
org.nuxeo.scim.server.jaxrs.marshalling.NXJsonUnmarshaller
- All Implemented Interfaces:
com.unboundid.scim.marshal.Unmarshaller
public class NXJsonUnmarshaller
extends com.unboundid.scim.marshal.json.JsonUnmarshaller
Copy of the original scimsdk class just to change some org.json constructors scimsdk uses a custom version of
org.json with a different artifactId and some code differences but with the same namespace
- Since:
- 7.4
- Author:
- tiry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.json.JSONObject
makeCaseInsensitive
(org.json.JSONObject jsonObject) <R extends com.unboundid.scim.data.BaseResource>
Runmarshal
(InputStream inputStream, com.unboundid.scim.schema.ResourceDescriptor resourceDescriptor, com.unboundid.scim.data.ResourceFactory<R> resourceFactory) Methods inherited from class com.unboundid.scim.marshal.json.JsonUnmarshaller
bulkUnmarshal, bulkUnmarshal, unmarshalError, unmarshalResources
-
Constructor Details
-
NXJsonUnmarshaller
public NXJsonUnmarshaller()
-
-
Method Details
-
unmarshal
public <R extends com.unboundid.scim.data.BaseResource> R unmarshal(InputStream inputStream, com.unboundid.scim.schema.ResourceDescriptor resourceDescriptor, com.unboundid.scim.data.ResourceFactory<R> resourceFactory) throws com.unboundid.scim.sdk.InvalidResourceException - Specified by:
unmarshal
in interfacecom.unboundid.scim.marshal.Unmarshaller
- Overrides:
unmarshal
in classcom.unboundid.scim.marshal.json.JsonUnmarshaller
- Throws:
com.unboundid.scim.sdk.InvalidResourceException
-
makeCaseInsensitive
protected org.json.JSONObject makeCaseInsensitive(org.json.JSONObject jsonObject) throws org.json.JSONException - Throws:
org.json.JSONException
-