Skip to content

Add normalization logic for JSON to JSON and TOON to TOON conversions #1

@maskedsyntax

Description

@maskedsyntax

Currently, TokenWise only performs conversions when the input and output format differ (JSON->TOON or TOON->JSON).
When the formats are the same (JSON->JSON or TOON->TOON), the converter simply returns the input unchanged.

This causes incorrect behavior when the user pastes JSON but the structure is malformed, or when the user pastes TOON and wants it cleaned/normalized.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions