Skip to content

Allow serialization with Single Quotes \' in stead of Standard Double Quotes \" #617

@anismek

Description

@anismek

Adding something like this feature JsonWriteFeature.USE_SINGLE_QUOTE. Permitting to serialize:
{"name": "value"} to {'name': 'value'} and if also JsonWriteFeature.QUOTE_FIELD_NAMES is disabled to {name: 'value'}.
I know this is not standard JSON, but might be really helpful to get TypeScript-formatted JSON.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssue that seems easy to resolve and is likely a good candidate for contributors new to projecthacktoberfestIssue related to Hactoberfest2020 activities, eligible for additional rewards

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions