Liam Curry
|
6226e6959f
|
js-sys: JSON::stringify_with_replacer[_and_space]
This commit adds two new externs for `JSON.stringify`:
`JSON::stringify_with_replacer` and
`JSON::stringify_with_replacer_and_space`.
Fixes #1186
|
2019-01-16 18:03:03 -05:00 |
|
Alex Crichton
|
7ecf4aae87
|
cargo +nightly fmt --all
Rustfmt all the things!
|
2018-09-26 08:26:00 -07:00 |
|
Nick Fitzgerald
|
e3d2ea2628
|
js-sys: Catch exceptions thrown in Reflect APIs
Proxies passed to Reflect APIs can throw for any of these operations and it is a
bit of a mess.
|
2018-09-25 14:30:26 -07:00 |
|
Nick Fitzgerald
|
5df2347a7a
|
js-sys: Add extends to JSON
Part of #670
|
2018-09-06 13:32:31 -07:00 |
|
Andrew Chin
|
1092816652
|
Use Reflect::set instead of javascript helper
|
2018-08-10 14:33:21 -04:00 |
|
Andrew Chin
|
f5203bba8a
|
Handle exceptions from JSON::stringify
|
2018-08-10 14:13:57 -04:00 |
|
Andrew Chin
|
23cb0ea656
|
Add initial support and tests for JSON
|
2018-08-09 20:54:13 -04:00 |
|