Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

Not all jsonparse errors are handled by JSONStreamΒ #136

@ataube

Description

@ataube

The underlying jsonparse lib triggers one specific error which is not handled by JSONStream:
Look here:
https://github.com/creationix/jsonparse/blob/master/jsonparse.js#L321

And here:
https://github.com/dominictarr/JSONStream/blob/master/index.js#L140

It would be helpful if JSONStream could also wrap this error as an Invalid JSON message to have a consistent error contract one can check for.

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