array method

Parser<List<JSON?>> array()

Implementation

Parser<List<JSON>> array() => seq3(
      char('[').trim(),
      ref0(arrayElements),
      char(']').trim(),
    ).map3((_, elements, __) => elements);