Class BlobJsonReader

java.lang.Object
org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader<Blob>
org.nuxeo.ecm.automation.core.io.BlobJsonReader
All Implemented Interfaces:
Marshaller<Blob>, Reader<Blob>

@Setup(mode=SINGLETON, priority=2000) public class BlobJsonReader extends AbstractJsonReader<Blob>
  • Constructor Details

    • BlobJsonReader

      public BlobJsonReader()
  • Method Details

    • read

      public Blob read(com.fasterxml.jackson.databind.JsonNode jn) throws IOException
      Description copied from class: AbstractJsonReader
      Implement this method, read the entity data in the provided JsonNode and return corresponding java object.
      Specified by:
      read in class AbstractJsonReader<Blob>
      Parameters:
      jn - A ready to use JsonNode.
      Returns:
      The unmarshalled entity.
      Throws:
      IOException