Class PathValueOperation

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.JsonSerializable

        com.fasterxml.jackson.databind.JsonSerializable.Base
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static com.github.fge.msgsimple.bundle.MessageBundle BUNDLE  
      protected String op  
      protected com.github.fge.jackson.jsonpointer.JsonPointer path  
      protected com.fasterxml.jackson.databind.JsonNode value  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected PathValueOperation​(String op, com.github.fge.jackson.jsonpointer.JsonPointer path, com.fasterxml.jackson.databind.JsonNode value)
      Protected constructor
    • Field Detail

      • BUNDLE

        protected static final com.github.fge.msgsimple.bundle.MessageBundle BUNDLE
      • op

        protected final String op
      • path

        protected final com.github.fge.jackson.jsonpointer.JsonPointer path
      • value

        protected final com.fasterxml.jackson.databind.JsonNode value
    • Constructor Detail

      • PathValueOperation

        protected PathValueOperation​(String op,
                                     com.github.fge.jackson.jsonpointer.JsonPointer path,
                                     com.fasterxml.jackson.databind.JsonNode value)
        Protected constructor
        Parameters:
        op - operation name
        path - affected path
        value - JSON value
    • Method Detail

      • serialize

        public final void serialize​(com.fasterxml.jackson.core.JsonGenerator jgen,
                                    com.fasterxml.jackson.databind.SerializerProvider provider)
                             throws IOException,
                                    com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        serialize in interface com.fasterxml.jackson.databind.JsonSerializable
        Throws:
        IOException
        com.fasterxml.jackson.core.JsonProcessingException
      • serializeWithType

        public final void serializeWithType​(com.fasterxml.jackson.core.JsonGenerator jgen,
                                            com.fasterxml.jackson.databind.SerializerProvider provider,
                                            com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
                                     throws IOException,
                                            com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        serializeWithType in interface com.fasterxml.jackson.databind.JsonSerializable
        Throws:
        IOException
        com.fasterxml.jackson.core.JsonProcessingException