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

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

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

  • Method Details

    • deserialize

      public java.util.Map<java.lang.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​(java.lang.String key, jakarta.json.stream.JsonParser parser, JsonpMapper mapper, java.util.Map<java.lang.String,​Union> targetMap)