Skip to content

Use “, “ as delimiter for json-objects. #457

Description

@TurpentineDistillery

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.

{"foo":1,"bar":[123,456],"baz":"qux,quux","quuz":true,"corge":"grault"}
vs
{"foo":1, "bar":[123,456], "baz":"qux,quux", "quuz":true, "corge":"grault"}

This would be a one-line change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions