Skip to content
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

Nested raw json for encoder #128

Open
IgorKarymov opened this issue Aug 29, 2016 · 1 comment
Open

Nested raw json for encoder #128

IgorKarymov opened this issue Aug 29, 2016 · 1 comment

Comments

@IgorKarymov
Copy link

IgorKarymov commented Aug 29, 2016

Hi there!
it's very useful to be able to inform the encoder that some part of the input is already JSON.
So it should be used "as is" without any additional escaping etc.
Something like:

Payload = jiffy:encode(#{foo => bar}),
%%...
%%... a few hours later in another process on another node :)...
%%...
Packet = jiffy:encode(#{id => 1, payload => {json, Payload}}).
@mpenet
Copy link

mpenet commented Nov 29, 2016

+1

I am looking to do the exact same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants