Class Token2JsonFormatter


  • @Component
    public class Token2JsonFormatter
    extends Object
    Maps Tokens to json using respective token contents serialization.
    Author:
    P.Piernik
    • Method Detail

      • toJson

        public com.fasterxml.jackson.databind.node.ObjectNode toJson​(pl.edu.icm.unity.base.token.Token t)
                                                              throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException