类 JsonProtoModule.AnyDeserializer

  • 封闭类:
    JsonProtoModule

    protected class JsonProtoModule.AnyDeserializer
    extends com.fasterxml.jackson.databind.JsonDeserializer<com.google.protobuf.Any>
    AnyDeserializer converts the custom JSON representation of an Any value into its original form.

    {@see AnySerializer} for details on this representation.

    • 嵌套类概要

      • 从类继承的嵌套类/接口 com.fasterxml.jackson.databind.JsonDeserializer

        com.fasterxml.jackson.databind.JsonDeserializer.None
    • 构造器概要

      构造器 
      限定符 构造器 说明
      protected AnyDeserializer()  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      com.google.protobuf.Any deserialize​(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt)  
      • 从类继承的方法 com.fasterxml.jackson.databind.JsonDeserializer

        deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, unwrappingDeserializer
    • 构造器详细资料

      • AnyDeserializer

        protected AnyDeserializer()
    • 方法详细资料

      • deserialize

        public com.google.protobuf.Any deserialize​(com.fasterxml.jackson.core.JsonParser p,
                                                   com.fasterxml.jackson.databind.DeserializationContext ctxt)
                                            throws IOException
        指定者:
        deserialize 在类中 com.fasterxml.jackson.databind.JsonDeserializer<com.google.protobuf.Any>
        抛出:
        IOException