jsoncDecode function

Object? jsoncDecode(
  1. String source, {
  2. JsoncReviver? reviver,
})

Decodes a JSONC String in one pass into a Dart value.

ENG

Optional reviver runs bottom-up with a full JsoncPath on the same fast tree path (no visitor rebuild).

RU

Опциональный reviver — bottom-up с полным JsoncPath на том же быстром tree-пути (без пересборки через visitor).

Implementation

Object? jsoncDecode(String source, {JsoncReviver? reviver}) =>
    JsoncParser(source, reviver: reviver).parse();