| 70 | } |
| 71 | |
| 72 | void ckpt_json_parse(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs) |
| 73 | { |
| 74 | const ScriptArgs args(Parser, Param, NumArgs, "json_parse"); |
| 75 | nlohmann::json* out = tree(args, 0); |
| 76 | *out = nlohmann::json::parse(args.str(1), nullptr, false); |
| 77 | } |
| 78 | |
| 79 | void ckpt_json_delete(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs) |
| 80 | { |