shiroyk
|
fa6d1ed5e4
Implemented BigInt (#597)
|
1 year ago |
Dmitry Panov
|
594410467b
Correctly detect circular references in JSON.stringify for wrapped Go objects. Fixes #543.
|
1 year ago |
Dmitry Panov
|
873a1496dc
Wrap error returned by MarshalJSON() in GoError. Added Exception.Unwrap() which unwraps GoError. Fixes #540.
|
2 years ago |
Dmitry Panov
|
9410bcaa81
Implemented template-backed objects and used them for most of the built-ins. Closes #524, closes #459.
|
2 years ago |
Dmitry Panov
|
c933cf95e1
Exposed String and StringBuilder. Closes #321.
|
2 years ago |
Dmitry Panov
|
28ee0ee714
Refactored conversion to primitive to better match modern ECMAScript standard. Wrapped Go values no longer have "toString" and "valueOf" methods defined on them. Closes #512.
|
2 years ago |
Oleg Bespalov
|
b244ee5f51
Make EOF in JSON.parse human-oriented. Fixes #503
|
2 years ago |
Dmitry Panov
|
9343cf0121
Implemented generators (only synchronous so far). Closes #436
|
2 years ago |
Dmitry Panov
|
c5c52bd8d6
Optimized CPU and memory usage when importing strings and using JSON.{parse,stringify}().
|
3 years ago |
Dmitry Panov
|
f1567f3952
Upgraded tests, lots of fixes as a result
|
3 years ago |
Dmitry Panov
|
8253af8f29
Added nil-safety checks for values returned by get*() methods
|
4 years ago |
Dmitry Panov
|
b19cd2fe95
Added Object.entries(). Avoid slice allocation and copy in many cases when iterating over object keys. Avoid duplication of the length property when switching between regular and sparse arrays. Closes #246.
|
4 years ago |
Dmitry Panov
|
6060b0671c
Exposed Symbol
|
4 years ago |
Dmitry Panov
|
b206dd5e2c
Added missing Regexp functionality, enhanced unicode and UTF-16 support (#171)
|
5 years ago |
Dmitry Panov
|
b292a24dd1
Enabled JSON tests.
|
5 years ago |
Dmitry Panov
|
3e17424602
Merge branch 'master' into es6
|
5 years ago |
Mihail Stoykov
|
9025f726e6
fix JSON.parse with reviver
|
5 years ago |
Dmitry Panov
|
5df89c3d31
Support for malformed UTF-16 strings and property keys. Missing String methods. (#146)
|
5 years ago |
Dmitry Panov
|
a13c43b62b
Proxy (#135)
|
5 years ago |
Dmitry Panov
|
a0559b5ea4
Missing Object methods, ToPropertyKey, GetV
|
5 years ago |
Dmitry Panov
|
281a94b359
Fixed __proto__ getter.
|
5 years ago |
Dmitry Panov
|
9bbb616c12
Added Object.DefineDataProperty() and Object.DefineAccessorProperty(). See #45
|
8 years ago |
Dmitry Panov
|
8f3380f012
Use MarshalJSON() of the wrapped Go value if available
|
8 years ago |
Dmitry Panov
|
d9584dc190
Object now implements json.Marshaler
|
8 years ago |
Dmitry Panov
|
f7e7d2e1e1
Custom JSON serialisation
|
9 years ago |
Dmitry Panov
|
9cf7286bea
Fixed JSON serialisation of NaN and +/-Infinity
|
9 years ago |
Dmitry Panov
|
6594cd5565
Fixed JSON.parse (object in array).
|
9 years ago |
Dmitry Panov
|
1396f3a248
Use streaming JSON parser API.
|
9 years ago |
Dmitry Panov
|
a5faf93e7a
Fixed escaping in JSON.stringify
|
9 years ago |
Dmitry Panov
|
25773609b6
Initial commit
|
9 years ago |