Class StructSerializer<T>

    • Constructor Detail

      • StructSerializer

        public StructSerializer()
    • Method Detail

      • serialize

        public void serialize​(T value,
                              com.fasterxml.jackson.core.JsonGenerator g)
                       throws java.io.IOException,
                              com.fasterxml.jackson.core.JsonGenerationException
        Specified by:
        serialize in class StoneSerializer<T>
        Throws:
        java.io.IOException
        com.fasterxml.jackson.core.JsonGenerationException
      • serialize

        public abstract void serialize​(T value,
                                       com.fasterxml.jackson.core.JsonGenerator g,
                                       boolean collapse)
                                throws java.io.IOException,
                                       com.fasterxml.jackson.core.JsonGenerationException
        Throws:
        java.io.IOException
        com.fasterxml.jackson.core.JsonGenerationException
      • deserialize

        public T deserialize​(com.fasterxml.jackson.core.JsonParser p)
                      throws java.io.IOException,
                             com.fasterxml.jackson.core.JsonParseException
        Specified by:
        deserialize in class StoneSerializer<T>
        Throws:
        java.io.IOException
        com.fasterxml.jackson.core.JsonParseException
      • deserialize

        public abstract T deserialize​(com.fasterxml.jackson.core.JsonParser p,
                                      boolean collapsed)
                               throws java.io.IOException,
                                      com.fasterxml.jackson.core.JsonParseException
        Throws:
        java.io.IOException
        com.fasterxml.jackson.core.JsonParseException