Interface JmespathRuntime.ObjectBuilder<T>

All Known Implementing Classes:
MapObjectBuilder
Enclosing interface:
JmespathRuntime<T>

public static interface JmespathRuntime.ObjectBuilder<T>
A builder interface for new OBJECT values.
  • Method Summary

    Modifier and Type
    Method
    Description
    Builds the new OBJECT value being built.
    void
    put(T key, T value)
    Adds the given key/value pair to the object being built.
    void
    putAll(T object)
    If the given value is an OBJECT, adds all of its key/value pairs.
  • Method Details

    • put

      void put(T key, T value)
      Adds the given key/value pair to the object being built.
    • putAll

      void putAll(T object)
      If the given value is an OBJECT, adds all of its key/value pairs. Otherwise, throws a JmespathException of type INVALID_TYPE.
    • build

      T build()
      Builds the new OBJECT value being built.