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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.json.JSONObject
    makeCaseInsensitive(org.json.JSONObject jsonObject)
     
    <R extends com.unboundid.scim.data.BaseResource>
    R
    unmarshal(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface com.unboundid.scim.marshal.Unmarshaller
      Overrides:
      unmarshal in class com.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