Class ExternallyTaggedUnion.TypedKeysDeserializer<Union extends TaggedUnion<?,?>>

java.lang.Object
co.elastic.clients.json.JsonpDeserializerBase<Map<String,Union>>
co.elastic.clients.json.ExternallyTaggedUnion.TypedKeysDeserializer<Union>
All Implemented Interfaces:
JsonpDeserializer<Map<String,Union>>
Enclosing class:
ExternallyTaggedUnion

public static class ExternallyTaggedUnion.TypedKeysDeserializer<Union extends TaggedUnion<?,?>> extends JsonpDeserializerBase<Map<String,Union>>
  • Constructor Details

  • Method Details

    • deserialize

      public Map<String,Union> deserialize(jakarta.json.stream.JsonParser parser, JsonpMapper mapper, jakarta.json.stream.JsonParser.Event event)
      Description copied from interface: JsonpDeserializer
      Deserialize a value. The value starts at the current state in the JSON stream.
      Parameters:
      parser - the JSON parser
      mapper - the JSON-P mapper
      event - the current state of parser, which must be part of JsonpDeserializer.acceptedEvents()
      Returns:
      the parsed value
    • deserializeEntry

      public void deserializeEntry(String key, jakarta.json.stream.JsonParser parser, JsonpMapper mapper, Map<String,Union> targetMap)