requireArray

  1. JSONValue[] requireArray(JSONValue value)
  2. T[] requireArray(JSONValue value)
    T[]
    requireArray
    (
    T
    )
    (
    JSONValue value
    )

Throws

JSONException when the value is not a JSON array with elements of the required type.

Meta