Interface TokenContentsJsonSerializer
-
- All Superinterfaces:
DescribedObject
,NamedObject
- All Known Implementing Classes:
TokenWithJsonContentsSerializer
public interface TokenContentsJsonSerializer extends DescribedObject
Represent facility used for map contents ofToken
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 EngineException
- Throws:
EngineException
-
-