Skip to content

Allow to send / receive nlohman::json objects #37

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

Closed
wants to merge 2 commits into from
Closed

Allow to send / receive nlohman::json objects #37

wants to merge 2 commits into from

Conversation

dtugend
Copy link

@dtugend dtugend commented Jul 22, 2022

This is a proposal, feel free to push / suggest changes as you require, etc.
Also if you don't want to merge it for some reason that's okay too.

dtugend added 2 commits July 22, 2022 17:47
- Closes #35 - purpose: this way we have more
  possibilities, e.g. seriazling from / to streams.
@dtugend
Copy link
Author

dtugend commented Aug 11, 2022

I checked other languages and libraries, apart from some custom Rust-based implementation on B2 (BackBlaze), almost noone does support this use case, people usually stick with JSON Lines - JSON RPC, meaing it's delimited by a new-line (and other new lines are disallowed).

I'd suggest to close the pull-request, since you can already very easily implement that using your library, since otherwise we are just waking the complexity dragon for no good reason.

Is it ok if I close the pull-request and the related issue?

@cinemast
Copy link
Contributor

Sure, thanks for your effort anyway!

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

Successfully merging this pull request may close these issues.

1.0 Send / Receive functions interface suggestion to support more use cases
2 participants