Class JsonRpc.Deserializer

java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<JsonRpc>
org.jgrapes.webconsole.base.JsonRpc.Deserializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.ContextualDeserializer, com.fasterxml.jackson.databind.deser.NullValueProvider
Enclosing class:
JsonRpc

public static class JsonRpc.Deserializer extends com.fasterxml.jackson.databind.JsonDeserializer<JsonRpc> implements com.fasterxml.jackson.databind.deser.ContextualDeserializer
A Deserializer for a JsonRpc.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer

    com.fasterxml.jackson.databind.JsonDeserializer.None
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance for calling createContextual(DeserializationContext, BeanProperty), which is the real deserializer.
    Deserializer(com.fasterxml.jackson.databind.JavaType type)
    Instantiates a new deserializer for the given type.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonDeserializer<?>
    createContextual(com.fasterxml.jackson.databind.DeserializationContext deserializationContext, com.fasterxml.jackson.databind.BeanProperty beanProperty)
    Creates the contextual.
    deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext ctx)
    Deserialize.

    Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer

    deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • createContextual

      public com.fasterxml.jackson.databind.JsonDeserializer<?> createContextual(com.fasterxml.jackson.databind.DeserializationContext deserializationContext, com.fasterxml.jackson.databind.BeanProperty beanProperty) throws com.fasterxml.jackson.databind.JsonMappingException
      Creates the contextual.
      Specified by:
      createContextual in interface com.fasterxml.jackson.databind.deser.ContextualDeserializer
      Parameters:
      deserializationContext - the deserialization context
      beanProperty - the bean property
      Returns:
      the json deserializer
      Throws:
      com.fasterxml.jackson.databind.JsonMappingException - the json mapping exception
    • deserialize

      public JsonRpc deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext ctx) throws IOException
      Deserialize.
      Specified by:
      deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<JsonRpc>
      Parameters:
      parser - the parser
      ctx - the ctx
      Returns:
      the json rpc
      Throws:
      IOException - Signals that an I/O exception has occurred.