Skip to content

JSON.parse[@@customMatcher]? #310

Description

@Jack-Works

because tryParse isn't a thing now, I wonder if we can have JSON.parse[@@customMatcher] to allow matches JSON structure inside a string.

({data: '{"x": 1}'}) is { data: JSON.parse({ x: 1 }) }

or if it should be "reflective", it might be on stringify

({data: '{"x": 1}'}) is { data: JSON.stringify({ x: 1 }) }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions