Class ObjectCodecService.DateCodec

    • Constructor Detail

      • DateCodec

        public DateCodec()
    • Method Detail

      • getType

        public String getType()
        Description copied from class: ObjectCodec
        Get this codec type. Implementors can override to return a short name. The default name is the object type name.
        Overrides:
        getType in class ObjectCodec<Date>
      • read

        public Date read​(com.fasterxml.jackson.core.JsonParser jp,
                         CoreSession session)
                  throws IOException
        Description copied from class: ObjectCodec
        When the object codec is called the stream is positioned on the first value. For inlined objects this is the first value after the "entity-type" property. For non inlined objects this will be the object itself (i.e. '{' or '[')
        Overrides:
        read in class ObjectCodec<Date>
        Throws:
        IOException