-
Notifications
You must be signed in to change notification settings - Fork 152
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
Add a system.text.json formatter #305
Comments
No demand for this, so closing. |
I realize this is resurrecting an old closed issue, but we would be interested in a System.Text.Json version. We've got a job scheduler that has coordinators on nodes managing dozens of sub-processes, talking over anonymous pipes with StreamJsonRpc. The |
Hi @watfordgnf. Thanks for reaching out. What is If you're sending large data like that, have you considered using |
Yeah it is used by Newtonsoft.Json: vs-streamjsonrpc/src/StreamJsonRpc/JsonMessageFormatter.cs Lines 909 to 924 in 3e873ba
Currently the log data is not streamed and is a |
Great. Using |
The new
System.Text.Json
APIs are much faster than Newtonsoft.Json, and thus offer a huge perf boost without sacrificing interop as a move to MessagePack has.Be sure when doing so to implement full streaming support such that we don't buffer an entire message before beginning deserialization.
The text was updated successfully, but these errors were encountered: