Use more robust JSON parsing rather than regex and string matching

Issue #2 new
Devin Martin
repo owner created an issue

The current implementation works, but is quite brittle. Replace the current string.Contains and Regex.Match calls with full JSON parsing. In most cases the production API seems to use the fields passed into the API as field names in the response object when there is a problem so it should be a bit more robust to look for specific fields on the response JSON object, rather than match specific text.

Comments (0)

  1. Log in to comment