Skip to content

The output formatting of JSON encoding/decoding should be more configurable #605

Closed
@jakepetroules

Description

@jakepetroules

Motivation

I never ever want to emit JSON without the .withoutEscapingSlashes option, since it drastically reduces readability in JSON payloads where file paths are prevalent.

Proposed solution

Please consider making Converter.encoder public or providing an option to pass in an array of outputFormatting flags.

Alternatives considered

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions