Commit Graph

  • 0150639119 update the new coercion test to use actual values and show the parseDouble method is not robust enough for large numbers John J. Aylward 2017-05-18 11:58:28 -04:00
  • 382f62e781 * Prevent exceptions in cases where the value is not a string. * Don't call toString when we know it's a string, just cast John J. Aylward 2017-05-18 11:41:51 -04:00
  • bdb1163445 Adds conversion tests to ensure downward type coercions are handled sanely John J. Aylward 2017-05-18 11:38:42 -04:00
  • 2867aaa8c8 Updates test cases to support new optFloat and optNumber John J. Aylward 2017-05-17 12:33:59 -04:00
  • 0c7bd725a6 fixes for javadoc John J. Aylward 2017-05-17 11:34:13 -04:00
  • fcdb8671b2 grr, forgot to save changes on last commit John J. Aylward 2017-05-17 11:32:44 -04:00
  • c46774cf13 * Update opt* methods for JSONArray * Add support to JSONArray and JSONObject to optionally get raw number values * Add support to JSONArray and JSONObject to optionally get float values John J. Aylward 2017-05-17 11:29:26 -04:00
  • bd4b180f4e Support for float to BigDecimal in optBigDecimal John J. Aylward 2017-05-17 10:51:06 -04:00
  • 49d47e3ff2 Adjustments to tests for https://github.com/stleary/JSON-java/pull/337/ John J. Aylward 2017-05-16 19:42:46 -04:00
  • a8d4e4734f adjustments to opt methods in reference to https://github.com/stleary/JSON-java/issues/334 John J. Aylward 2017-05-16 19:38:01 -04:00
  • 1d040ec407 fixes errors with tests relating to https://github.com/stleary/JSON-java/pull/336 John J. Aylward 2017-05-16 18:16:07 -04:00
  • 4865f51dd5 change float double literals to be more standard as 1.0f and 1.0d respectively John J. Aylward 2017-05-16 15:38:54 -04:00
  • c870094f69 Fixes spelling in comments and removes compile time warnings John J. Aylward 2017-05-16 15:35:05 -04:00
  • cbd8b18c4a Update README Sean Leary 2017-05-16 00:29:00 -05:00
  • c945b53308 Merge pull request #69 from johnjaylward/TestCleanup Sean Leary 2017-04-28 01:04:56 -05:00
  • c233ae709e comment out second unreliable test John J. Aylward 2017-04-27 12:52:02 -04:00
  • 95da4246a2 fix spelling in comment John J. Aylward 2017-04-27 12:48:43 -04:00
  • 9df5d34bbe * Update link in the README to the main JSON-Java repo * Cleans up some warnings * Adds new test for bug https://github.com/stleary/JSON-java/issues/332 * Adds some resource handling for string writers using pre-java1.7 support. I know StringWriters don't need a close method called, but the tests should still handle their resources properly. John J. Aylward 2017-04-27 12:39:42 -04:00
  • f12fa9ba5f Update LICENSE Sean Leary 2017-04-18 08:32:10 -05:00
  • ae1e9e2b6a fix spelling in javadoc comment John J. Aylward 2017-04-03 11:59:36 -04:00
  • f6ab6d7b27 Merge pull request #68 from stleary/jsonpointer-query Sean Leary 2017-03-27 20:05:05 -05:00
  • 80e2ea2a80 Merge pull request #324 from dtalex/JSONPointerOnBeans Sean Leary 2017-03-27 20:04:18 -05:00
  • d1a5f15f0c unit tests for query-by-JSONPointer stleary 2017-03-26 15:03:09 -05:00
  • 82ff14ed8d Merge pull request #66 from stleary/document-unquoted-strings Sean Leary 2017-02-26 11:10:38 -06:00
  • e41972a574 add a test for unquoted values stleary 2017-02-26 11:09:41 -06:00
  • 2917104b53 Allow user to invoke query and optQuery ,with a JSONPointer,directly from JSONArray or JSONObject fix JSONArray alessandro rao 2017-02-25 14:35:02 +01:00
  • 9e0fc5e680 Allow user to invoke query and optQuery ,with a JSONPointer,directly from JSONArray or JSONObject alessandro rao 2017-02-25 13:27:50 +01:00
  • a66abf22a8 Merge pull request #64 from stleary/locale-tests-for-non-EN-keys Sean Leary 2017-02-19 21:34:40 -06:00
  • 724fb888f7 Merge pull request #317 from johnjaylward/fixLocale Sean Leary 2017-02-19 21:34:17 -06:00
  • f41e1d012a tests for locale-independent keys stleary 2017-02-16 20:49:37 -06:00
  • 928179a1f3 locale tests stleary 2017-02-14 08:30:22 -06:00
  • eb806f4c14 make sure locale independent data is not upper/lowercased incorrectly. See #315 John J. Aylward 2017-02-10 10:07:28 -05:00
  • 5ff8b4cb08 Merge pull request #304 from omarzina/master Sean Leary 2016-12-05 08:58:35 -06:00
  • 5ef4f58ef1 [FIX] Update README joumar 2016-12-05 11:55:24 -03:00
  • 413bb53b48 Merge pull request #288 from johnjaylward/XmlEscape Sean Leary 2016-11-24 10:01:14 -06:00
  • df9c27c53f Merge pull request #62 from erosb/master Sean Leary 2016-10-08 10:07:53 -05:00
  • 237376eca6 Merge pull request #292 from erosb/master Sean Leary 2016-10-08 10:07:31 -05:00
  • 97e3d6c7ce testcase for stleary/JSON-java#292 and adding .idea to .gitiignore Bence Erős 2016-10-05 14:59:36 +02:00
  • e0616a129e fixing #291 Bence Erős 2016-10-05 14:57:42 +02:00
  • 93ffca36c3 fixes spacing John J. Aylward 2016-09-28 20:23:30 -04:00
  • e477d7002b fixes object comparison John J. Aylward 2016-09-28 20:22:12 -04:00
  • fb1db9341e Changes encoding to better match the XML spec section 2.2 John J. Aylward 2016-09-28 20:15:58 -04:00
  • adb0478f66 properly unescape tokens in JSONML for reversability. John J. Aylward 2016-09-22 16:23:09 -04:00
  • f6a00e94c7 adds test for unicode that has surrogate pairs John J. Aylward 2016-09-22 16:12:00 -04:00
  • f58a0f4684 fixes code point appends to string builder John J. Aylward 2016-09-22 16:10:49 -04:00
  • c11e09959c Fixes code point output when unescaping code points. XML escapes are an entire code point, not surrogate pairs like in JSON. John J. Aylward 2016-09-22 15:40:26 -04:00
  • 68f92eb395 Adds more javadoc. John J. Aylward 2016-09-22 14:40:39 -04:00
  • 2b87f334d0 Update test cases to support ISO Control encoding changes. John J. Aylward 2016-09-22 14:13:48 -04:00
  • 34652a8706 Updates to iterate on code points instead of characters and changes the encoding to only encode control characters as defined by ISO standard. John J. Aylward 2016-09-22 14:13:14 -04:00
  • 5027a283c1 Adds test for escaping from a JSONObject to XML John J. Aylward 2016-09-22 13:09:32 -04:00
  • c8563ff93d new test case for XML changes John J. Aylward 2016-09-22 12:38:30 -04:00
  • a2d3b59394 Implements unicode escaping similar to JSONObject. John J. Aylward 2016-09-22 12:38:06 -04:00
  • 474711c4ea Merge pull request #60 from stleary/fix-number-tests Sean Leary 2016-09-15 21:38:36 -05:00
  • 58aebaa14f fixed merge issues stleary 2016-09-15 21:31:28 -05:00
  • c24be0e4ea Merge pull request #274 from johnjaylward/NumberOutputFix Sean Leary 2016-09-09 11:42:35 -05:00
  • 88f65c5bea Merge branch 'master' of github.com:stleary/JSON-java into NumberOutputFix John J. Aylward 2016-08-26 11:32:35 -04:00
  • 3570890be7 Merge pull request #57 from johnjaylward/EnumCleanup Sean Leary 2016-08-19 11:43:20 -05:00
  • ebe69df8e4 Merge pull request #271 from johnjaylward/EnumCleanup Sean Leary 2016-08-19 10:28:04 -05:00
  • 59761f6f64 Merge pull request #58 from johnjaylward/SimplifyNumberWrap Sean Leary 2016-08-17 12:12:32 -05:00
  • 2f2cd4dfc5 Fix for number output bug. John J. Aylward 2016-08-17 12:52:04 -04:00
  • 0b1dbe9369 fixes test to not depend on key order John J. Aylward 2016-08-17 12:13:54 -04:00
  • a66b97f60b fix test John J. Aylward 2016-08-17 11:31:12 -04:00
  • cbd0418704 Update JSONObjectTest.java johnjaylward 2016-08-16 21:33:54 -04:00
  • bbd3fd5571 Adds tests for numbers John J. Aylward 2016-08-16 19:45:26 -04:00
  • 349a209df3 Merge remote-tracking branch 'upstream/master' into EnumCleanup John J. Aylward 2016-08-15 10:25:27 -04:00
  • 7851e9b2e8 revert back changes to Number support John J. Aylward 2016-08-15 10:24:38 -04:00
  • 7232a95c0b Update JSONObject.java Sean Leary 2016-08-15 01:58:54 -05:00
  • f96f505188 Update JSONArray.java Sean Leary 2016-08-15 01:53:08 -05:00
  • 91107e3e82 Adds support to JSONObject wrap and write methods to explicitly handle Enums. John J. Aylward 2016-08-11 12:22:31 -04:00
  • 5779400f26 test updates to make sure Enums are handled consistently. John J. Aylward 2016-08-11 12:21:49 -04:00
  • c400de3cfe Merge pull request #53 from run2000/master Sean Leary 2016-08-10 21:55:33 -05:00
  • 4e8e24d49d Merge pull request #259 from run2000/appendable_v2 Sean Leary 2016-08-10 21:55:10 -05:00
  • f881b61c81 Update XML.java Sean Leary 2016-08-10 15:35:26 -05:00
  • 37582a44ad Update README Sean Leary 2016-08-10 09:13:22 -05:00
  • a418d07460 Merge pull request #55 from johnjaylward/verifyOptMissingKeys Sean Leary 2016-08-10 09:04:27 -05:00
  • 154cfda9aa Merge pull request #261 from stleary/revert-249-master Sean Leary 2016-08-10 09:03:57 -05:00
  • 8bae09f81b removes unnecessary comparison to true John J. Aylward 2016-08-09 16:11:46 -04:00
  • 80e36eb63c Fixes error messages John J. Aylward 2016-08-09 15:59:27 -04:00
  • a2c311527b Updates tests to include all opt methods and verify for missing keys. John J. Aylward 2016-08-09 15:54:06 -04:00
  • 45a7decba4 Revert "reduces the use of unnecessary exceptions" Sean Leary 2016-08-09 14:22:06 -05:00
  • 0c157cae75 JSONWriter uses Appendable. Nicholas Cull 2016-08-08 19:40:10 +10:00
  • 8e079599c4 Update README Sean Leary 2016-08-07 15:19:44 -05:00
  • 62524b531d Merge pull request #52 from johnjaylward/OptionalTypeConversion Sean Leary 2016-07-31 21:09:34 -05:00
  • 3080b8beeb Merge pull request #253 from johnjaylward/OptionalTypeConversion Sean Leary 2016-07-31 21:09:07 -05:00
  • 2c228ecf1a Merge pull request #249 from Simulant87/master Sean Leary 2016-07-26 23:04:49 -05:00
  • e57881f8fa Fail when exceptions are not thrown as expected run2000 2016-07-25 09:44:43 +10:00
  • efe33a1e37 Fix comment. Nicholas Cull 2016-07-24 19:57:01 +10:00
  • 1246e12827 Factor out Writer from Appendable tests. Nicholas Cull 2016-07-24 19:39:52 +10:00
  • ffcfa66d77 Add JSONString test class. Nicholas Cull 2016-07-24 18:56:08 +10:00
  • 5d8ea6fa4e Update README.md Sean Leary 2016-07-23 10:13:21 -05:00
  • cdfdaba95b Update README.md Sean Leary 2016-07-23 10:12:33 -05:00
  • 2307f6f85e Update README.md Sean Leary 2016-07-23 10:12:04 -05:00
  • 6b4edbd40c Update README.md Sean Leary 2016-07-23 10:02:19 -05:00
  • ae77b5cd83 Tests for deep copy and mutability of toList() and toMap(). Nicholas Cull 2016-07-23 22:51:50 +10:00
  • 72c2b911bf Tests for toString(), write(), toList(), and toMap(). Nicholas Cull 2016-07-23 22:33:19 +10:00
  • c3ba4bdbe5 Nesting depth test works as expected. Nicholas Cull 2016-07-23 19:12:51 +10:00
  • 3890bfae52 reduce the use of unnecessary exceptions Nils Faupel 2016-07-19 19:58:10 +02:00
  • abf2963bbe Revert "reduces the use of unnecessary exceptions" Nils Faupel 2016-07-19 19:00:42 +02:00
  • 215321cd28 updates Test cases to support new JSONML and XML conversion options John J. Aylward 2016-07-18 15:01:36 -04:00
  • 09d37e59b8 Cleans up the JSONML changes and adds similar changes to the XML class John J. Aylward 2016-07-18 14:42:21 -04:00