JSONParser.getArray

Get array elements by iterating over them.

Note: You must read exactly one array item per iteration, otherwise the generator will crash.

  1. auto getArray()
    struct JSONParser
    getArray
    ()
  2. T[] getArray()
  3. T getArray()
  4. Element[Size] getArray()

Return Value

Type: auto

A generator range yielding current array index until all the items are read.

Throws

JSONException if the next item isn't an array or there's a syntax error.

Meta