-
Notifications
You must be signed in to change notification settings - Fork 217
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
How i can Insert RAW data? #119
Comments
you can use |
i don't like it |
Can i develop this logic jsx:encode([{raw, key, <<"{'a':1}">>}]) to make best way for my purpose ? |
Is this still a valid concern? I seem to want something similar, but this issue went nowhere. |
Hello.
This is not issue but just question.
Is there way to insert RAW data into encoded json ?
As example:
I have valid JSON-string: "{'a':1}" (it can be big string)
i would want insert this string as JSON:
{'key':{'a':1}}.
I don't want decode/encode string twice, i just want insert this string to get resulted JSON as above.
Is there way for this ?
I imagine this way like this:
jsx:encode([{raw, key, "{'a':1}"}])
Thank you.
The text was updated successfully, but these errors were encountered: