Repository navigation
Best way to handle "dirty" JSON response? #1539
What would you like to discuss?I am querying a third party RESTful API which tends to serve "dirty" json responses (i.e. the This typically causes Right now I went "dirty" on the issue and added a very kludgy For a more practical solution I identify several options:
Any thoughts? Checklist
|
Answered by
Giotino
Nov 25, 2020
Replies: 2 comments
|
In order to implement a custom JSON parser you can use the |
0 replies
Answer selected by
sindresorhus
Hooray! That one option I have missed which makes me look like a fool! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In order to implement a custom JSON parser you can use the
parseJsonoption