Class Token2JsonFormatter


  • @Component
    public class Token2JsonFormatter
    extends java.lang.Object
    Maps Tokens to json using respective token contents serialization.
    Author:
    P.Piernik
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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