| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
json: add unmarshaling support, clean up DOM parsing, and add benchmarks (#3384) * json: add unmarshaling support, clean up DOM parsing, and add benchmarks - Added `unmarshal` (JSON string to struct) and `@unmarshal_to` (Object* to struct). - Simplified DOM parsing. - Sped up serialization. - Added benchmarks for marshaling, unmarshaling, and DOM parsing. - Updated unit tests. * add serialize_object() and an example on `resources/examples/json_pretty_print.c3` * complete the benchmarks * fixes: fix array bounds, add vector support, and clean up redundancies * Some refactoring. * Rename Indent. Add tests. * continuing work * Some formatting. * Update releasenotes * Refactoring, moving unmarshaling partly to object. Object .is_empty is also .is_map. Improve backwards compatibility. Release memory on failure. --------- Co-authored-by: Christoffer Lerno <christoffer@aegik.com> | 1 个月前 |