object method

Parser<Map<String, JSON?>> object()

Implementation

Parser<Map<String, JSON>> object() => seq3(
      char('{').trim(),
      ref0(objectElements),
      char('}').trim(),
    ).map3((_, elements, __) => elements);