-
Notifications
You must be signed in to change notification settings - Fork 40
JSON support. #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON support. #28
Conversation
Is it the desired behavior? |
Can we get fully compatible JSON loader/saver in Red? IMO no, we do not have datatype that is fully compatible with JS' object - Is this good enough loader/saver? I think that it is good enough compromise. It is probably a question of preferences. |
Partial JSON support is not "JSON support". It's probably good enough for a personal project, but a JSON library cannot decently only partially support it (and that's not a matter of preferences, but matter of not deceiving the users). |
Hm. What about having two modes (for decoder), strict that will return |
We need a working solution out of the box, the user should not have to think if its JSON input has null values or not. |
Ok, so you prefer it to return |
No, JSON being such a big standard, needs a great support in Red. It is not something that should be rushed, but designed properly, which means, first solving the different problems, finding the best possible solutions. |
OK, I will delete the pull request then. |
Hi, I noticed there's https://github.com/red/wallet/blob/master/libs/JSON.red now, should it be here too? Or is it going to be a part of main repo? |
No description provided.