30f2e0f8b1
* avm2: Implement JSON.parse * avm2: Add AvmSerializer for serializing AVM values to JSON * avm2: Add support for replacer objects * avm2: use *const ObjectPtr for object stack * avm2: Add support for space parameter is JSON.stringify * avm2: Refactor AvmSerializer design * avm2: Restrict spaces to a maximum of 10 * avm2: Refactor map_value * tests: Add JSON.parse test * chore: Appease clippy * avm2: Check if value is undefined before inserting * tests: Add test for JSON.stringify * tests: Improve JSON.stringify test * chore: Replace map_or with explicit match statements * chore: Use QName::dynamic_name * avm2: Use Object<'gc> instead of ObjectPtr * chore: Use explicit match in deserialize_value * Rebase fixes Co-authored-by: Adrian Wielgosik <adrian.wielgosik@gmail.com> |
||
---|---|---|
.. | ||
tests | ||
Cargo.toml |