Interface TokenContentsJsonSerializer

  • All Superinterfaces:
    pl.edu.icm.unity.types.DescribedObject, pl.edu.icm.unity.types.NamedObject
    All Known Implementing Classes:
    DefaultJsonFormatterFacility, TokenWithJsonContentsSerializer

    public interface TokenContentsJsonSerializer
    extends pl.edu.icm.unity.types.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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.databind.JsonNode toJson​(byte[] rawValue)  
      • Methods inherited from interface pl.edu.icm.unity.types.DescribedObject

        getDescription
      • Methods inherited from interface pl.edu.icm.unity.types.NamedObject

        getName
    • Method Detail

      • toJson

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