brianleroux / tiny-json-http

:anchor: Minimalist HTTP client for JSON payloads.
172 stars 18 forks source link

Differences in JSON error handling #37

Open ryanblock opened 2 years ago

ryanblock commented 2 years ago

Not sure what the history is here, but there's currently differentiation in handling JSON errors:

These should probably be the same – either is fine imo, but given the nature of the library, probably passing the parsed version back prob makes more sense.