Skip to content

New line in json does not work #57

@charlesmlin

Description

@charlesmlin

When I try to use json.sh with json string containing new line, parsing will fail.

Example:
printf '{"a":"b\nc"}' | ./json.sh

Result:
EXPECTED value GOT "

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