Parsing malformed JSON in JavaScript

前端 未结 5 622
别跟我提以往
别跟我提以往 2020-12-07 04:38

Thanks for looking!

BACKGROUND

I am writing some front-end code that consumes a JSON service which is returning malformed JSON. Specifically, the keys are n

5条回答
  •  孤街浪徒
    2020-12-07 05:34

    There is a project that takes care of all kinds of invalid cases in JSON https://github.com/freethenation/durable-json-lint

提交回复
热议问题