You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I put the definition in here and it fails a few cases, namely these:
Number, String and Boolean should be turned into primitives
undefined, Function and symbol should make keys to be omitted if they are values in an object
Function and symbol in an array should turn into null
symbol keys should be omitted in an object
I can help with these if it aligns with the project goals. My plan would be first add these tests, then fix the current definition to make the tests pass. My current implementation passes the tests, but is not exhaustively tested and it's not as modular as the one in this repo, so I would rather improve this implementation.
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
The funding will be given to active contributors.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
I mentioned in #406 that I was building my own
Jsonify
. I have a small test suite that I based on the spec and there's a simplified version on MDN.I put the definition in here and it fails a few cases, namely these:
Number
,String
andBoolean
should be turned into primitivesundefined
,Function
andsymbol
should make keys to be omitted if they are values in an objectFunction
andsymbol
in an array should turn intonull
symbol
keys should be omitted in an objectI can help with these if it aligns with the project goals. My plan would be first add these tests, then fix the current definition to make the tests pass. My current implementation passes the tests, but is not exhaustively tested and it's not as modular as the one in this repo, so I would rather improve this implementation.
Upvote & Fund
The text was updated successfully, but these errors were encountered: