Class EntitySetDeserializer

java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<EntitySet>
de.fraunhofer.iosb.ilt.frostclient.json.deserialize.EntitySetDeserializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider

public class EntitySetDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<EntitySet>
Deserialises top-level entity sets. Nested sets are handled separately.
  • 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
    EntitySetDeserializer(ModelRegistry modelRegistry, EntityType entityType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext ctxt)
     
    deserializeFull(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext ctxt)
    Deserialises an EntitySet result, consuming the Object start and end tokens.
    getInstance(ModelRegistry modelRegistry, EntityType entityType)
     

    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

    • getInstance

      public static EntitySetDeserializer getInstance(ModelRegistry modelRegistry, EntityType entityType)
    • deserializeFull

      public EntitySet deserializeFull(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
      Deserialises an EntitySet result, consuming the Object start and end tokens.
      Parameters:
      parser - The parser to fetch tokens from.
      ctxt - The context to fetch settings from.
      Returns:
      The deserialised Entity.
      Throws:
      IOException - If deserialisation fails.
    • deserialize

      public EntitySet deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
      Specified by:
      deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<EntitySet>
      Throws:
      IOException