Skip to content

Create additional JSONTextMode #39

Description

@hybridherbst

Currently, the default serialization produces
"key" : "value" (note: two spaces)
and the compact one produces
"key":"value" (note: no space)

I'd like to see a third option here that produces another commonly seen format (the most common one I'm seeing at least):
"key": "value" (note: single space after the colon).

aSB.Append(" : ");

I'd be happy to make a PR but wanted to

  • ask what you think about this and
  • whether you'd be open to changing the default to "key": "value"
  • in case this would need to be optional, what a good name for that mode would be

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions