Interface TokenContentsJsonSerializer

All Superinterfaces:
pl.edu.icm.unity.base.describedObject.DescribedObject, pl.edu.icm.unity.base.describedObject.NamedObject
All Known Implementing Classes:
TokenWithJsonContentsSerializer

public interface TokenContentsJsonSerializer extends pl.edu.icm.unity.base.describedObject.DescribedObject
Represent facility used for map contents of Token objects (which is basically an opaque byte array for the engine) to some meaningful JSON representation, useful especially when presenting tokens to outside world, e.g. via REST interface.
Author:
P.Piernik
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
    toJson(byte[] rawValue)
     

    Methods inherited from interface pl.edu.icm.unity.base.describedObject.DescribedObject

    getDescription

    Methods inherited from interface pl.edu.icm.unity.base.describedObject.NamedObject

    getName
  • Method Details

    • toJson

      com.fasterxml.jackson.databind.JsonNode toJson(byte[] rawValue) throws pl.edu.icm.unity.base.exceptions.EngineException
      Throws:
      pl.edu.icm.unity.base.exceptions.EngineException