Interface JsonArrayInstance

All Superinterfaces:
Instance

public interface JsonArrayInstance extends Instance
A read-only Instance bound to a JsonArray primitive value. Primitive instances are anonymous (no object id) and deliberately do not expose subscribe, set, remove or any other id/iteration/write methods - only value() - per RTTS10c.

Spec: RTTS10c

  • Method Details

    • value

      @NotNull @NotNull com.google.gson.JsonArray value()
      Returns the wrapped JSON array.

      Spec: RTINS4 / RTTS10c

      Returns:
      the wrapped JsonArray value
    • compactJson

      @NotNull @NotNull com.google.gson.JsonArray compactJson()
      Returns the compacted JSON snapshot of the wrapped value, narrowed to a JsonArray: a JsonArrayInstance always compacts to a JSON array.

      Spec: RTTS7a

      Specified by:
      compactJson in interface Instance
      Returns:
      the compacted JSON array