toJson method
Transform JSON string to decoded object (Map/List).
Implementation
JsonDecodedBuilder toJson() {
if (chain.coercedToJson) return JsonDecodedBuilder(chain: chain);
chain.setTransform(CoercionKind.json_, (child) => tr.toJsonDecoded(child));
return JsonDecodedBuilder(chain: chain);
}