Class Token2JsonFormatter
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.utils.json.Token2JsonFormatter
-
@Component public class Token2JsonFormatter extends Object
MapsToken
s to json using respective token contents serialization.- Author:
- P.Piernik
-
-
Constructor Summary
Constructors Constructor Description Token2JsonFormatter(JsonFormatterFacilitiesRegistry jsonFormatterRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNode
toJson(pl.edu.icm.unity.base.token.Token t)
-
-
-
Constructor Detail
-
Token2JsonFormatter
@Autowired public Token2JsonFormatter(JsonFormatterFacilitiesRegistry jsonFormatterRegistry)
-
-
Method Detail
-
toJson
public com.fasterxml.jackson.databind.node.ObjectNode toJson(pl.edu.icm.unity.base.token.Token t) throws EngineException
- Throws:
EngineException
-
-