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 doesn't like undefined values #4
Comments
I'm going to look at this because:
It's interfering with my ability to switch to JSON::Fast |
[jonathan@coriolanus JSON-Marshal]$ perl6 -e 'use JSON::Fast; say to-json({foo => Str})' Cannot unbox a type object in sub str-escape at sources/A670982EBE56A59B3A7611E194FB56A852C763B3 (JSON::Fast) line 5 in sub to-json at sources/A670982EBE56A59B3A7611E194FB56A852C763B3 (JSON::Fast) line 16 in sub to-json at sources/A670982EBE56A59B3A7611E194FB56A852C763B3 (JSON::Fast) line 39 in block <unit> at -e line 1 This now works May partially address timo#4
[jonathan@coriolanus JSON-Marshal]$ perl6 -e 'use JSON::Fast; say to-json({foo => Str})' Cannot unbox a type object in sub str-escape at sources/A670982EBE56A59B3A7611E194FB56A852C763B3 (JSON::Fast) line 5 in sub to-json at sources/A670982EBE56A59B3A7611E194FB56A852C763B3 (JSON::Fast) line 16 in sub to-json at sources/A670982EBE56A59B3A7611E194FB56A852C763B3 (JSON::Fast) line 39 in block <unit> at -e line 1 This now works May partially address #4
Still fails for |
Can I 👍 a surprising two and a half year later close? |
sure. sorry for not keeping this issue tracker updated as i changed things :( |
to-json(Any) and my $foo; to-json($foo) should both generate "null".
The text was updated successfully, but these errors were encountered: