Commit Graph
10 Commits
Author SHA1 Message Date
Miguel b90bee0f22 Update error message location (+1)
`JSONTokener.back()` call removed from `JSONObject(JSONTokener)` constructor.
2017-08-14 13:05:23 -04:00
Miguel 2e0a8137bd Removed JSONTokener.back() 2017-08-14 13:01:31 -04:00
Miguel f177c97258 Replacing tabs with 4-spaces 2017-08-10 19:12:41 -04:00
Miguel 68b262914d JSONObject(JSONTokener) now points to last character of duplicate key
Updating exception message accordingly (position -1)
2017-08-10 19:06:55 -04:00
Miguel 7d8353401a Adding JSONTokener.back() just before throwing JSONException
This forces JSONTokener.syntaxError(..) to point to the last character of the duplicate key.
2017-08-10 19:05:57 -04:00
Miguel c365e2a774 Remov slf4j reference 2017-08-09 22:03:09 -04:00
Miguel df466db7b9 Replacing tabs with 4 spaces 2017-08-09 21:59:08 -04:00
Miguel 1acb18091a Remove System.out.println 2017-08-09 21:57:10 -04:00
Miguel 7fed023080 Update to include error location when creating JSONObject from string/text 2017-08-09 21:52:36 -04:00
Miguel fefd616d73 Unit tests for JSONTokener 2017-08-09 21:51:46 -04:00