-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Use “, “ as delimiter for json-objects. #457
Comments
Are you referring to
|
That's right, that wouldn't be most compact, although json format is not most compact to begin with, to say the least, and what's a few more bytes between friends? ; ) |
I don't think it's a good idea to change the default In #229 we had a discussion about how to pass more preferences to the |
Let's forget about this for now; and keep it in mind if the need for more configurability comes up in the future. On that note, here's an article where the author explores various approaches on named parameters in c++ https://marcoarena.wordpress.com/2014/12/16/bring-named-parameters-in-modern-cpp/ |
This is rather subjective, but the rationale for this is that serialized json-object is
,
-delimited sequence of:
-delimited pairs, so having an extra whitespace between the elements would make it easier to visually parse.e.g.
This would be a one-line change.
The text was updated successfully, but these errors were encountered: