We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the following: 1> Tuple = {{key, value}, { key2, {key3, [value1, 2,3]}}}. {{key,value},{key2,{key3,[value1,2,3]}}} 2> jsx:encode(Tuple). ** exception error: bad argument in function jsx_parser:value/4 (jsx_parser.erl, line 163)
Can we come up with sensible default for portion which do not map nicely to json? Maybe just translate them to binary?
Or, allow a caller to a function (global and per invocation) to decide how to handle.
This is especially useful in logging and other situations where the term in question is unknown.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consider the following:
1> Tuple = {{key, value}, { key2, {key3, [value1, 2,3]}}}.
{{key,value},{key2,{key3,[value1,2,3]}}}
2> jsx:encode(Tuple).
** exception error: bad argument
in function jsx_parser:value/4 (jsx_parser.erl, line 163)
Can we come up with sensible default for portion which do not map nicely to json? Maybe just translate them to binary?
Or, allow a caller to a function (global and per invocation) to decide how to handle.
This is especially useful in logging and other situations where the term in question is unknown.
The text was updated successfully, but these errors were encountered: