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
to-json() to comply with newest JSON spec #5043
Comments
From @zoffixznetThe newest JSON spec—contrary to previous versions—does allow non-object/array things at the top level. Reference: http://rfc7159.net/rfc7159#rfc.section.2 (second paragraph, especially). Rakudo's from-json built-in, however, displays an error when attempting to decode JSON conforming to this newest spec: <Zoffix> m: say from-json "42" |
From @zoffixznetMade a PR fixing this: rakudo/rakudo#687 |
From @cokeOn Thu Jan 21 08:34:04 2016, cpan@zoffix.com wrote:
There's a competing request to hide from-json and to-json (though I cannot find the discussion now). If we hide the functions so they are only available to rakudo internals, then we don't need to worry about this. -- |
1 similar comment
From @cokeOn Thu Jan 21 08:34:04 2016, cpan@zoffix.com wrote:
There's a competing request to hide from-json and to-json (though I cannot find the discussion now). If we hide the functions so they are only available to rakudo internals, then we don't need to worry about this. -- |
From @zoffixznetThe functions in question are now internal, so the RFC is irrelevant. Closing. |
@zoffixznet - Status changed from 'new' to 'rejected' |
Migrated from rt.perl.org#127252 (status was 'rejected')
Searchable as RT127252$
The text was updated successfully, but these errors were encountered: