Commit Graph

36 Commits

Author SHA1 Message Date
Gwynne Raskind 6986bb8aac
Add unit test for round-tripping of UInt through JSON when encoded by a single-value container. 2021-08-22 16:17:29 -05:00
Caleb Kleveter b9dc5710dc
Merge branch 'develop' of github.com:skelpo/JSON into develop 2019-11-07 08:39:15 -06:00
Caleb Kleveter f213438f71
Assign an empty array to JSON path when _JSONUnkeyedEncoder is initialized 2019-11-07 08:38:59 -06:00
Ralph Kuepper 7b88fc5974 Experiementing with using always strings for Decimal 2019-10-22 18:01:31 +02:00
Caleb Kleveter 4cb41f0d28
Attempt to use JSON convertible protocols when encoding/decoding 2019-10-18 09:36:53 -05:00
Caleb Kleveter 20a6e86940
Created DecimalTests test suite 2019-10-18 09:19:29 -05:00
Caleb Kleveter ced1651651
Fixed nested encoding containers 2019-10-17 11:29:18 -05:00
Caleb Kleveter 5fa6c46bf2
Replaced variable with constent in JSONTests.testDynamicAccessGet test case 2019-06-12 16:31:22 -05:00
Caleb Kleveter 8f8593e0d3
Added JSON(data:) initializer to base JSON type 2019-03-27 07:07:06 -05:00
Caleb Kleveter bb7b4a0ff7
Created JSON.remove(_:) method 2019-03-27 06:51:24 -05:00
Caleb Kleveter a1fd5b660f
Created JSONTests.testDescription test case 2019-03-21 11:45:11 -05:00
Caleb Kleveter 7ed01e327c
Created JSONTests.testSet test case 2019-03-21 11:36:59 -05:00
Caleb Kleveter 0227d298c3
Created JSONTests.testGet test case 2019-03-21 11:34:12 -05:00
Caleb Kleveter 5d50814c0e
Created JSONTests.testSubscript test case 2019-03-21 11:31:20 -05:00
Caleb Kleveter 71053d23e4
Created JSONTests.testInitializers test case 2019-03-21 09:28:10 -05:00
Caleb Kleveter b58e00cd2e
Created JSONTests.testAssociatedValueProperties test case 2019-03-21 09:23:24 -05:00
Caleb Kleveter bf2192cff0
Moved JSON encoding/decoding tests to JSONCodingTests test suite 2019-03-21 09:13:41 -05:00
Caleb Kleveter 6672b6fc92
Created JSONTests.testDynamicAccessGet and .testDynamicAccessSet test cases 2019-03-21 09:01:08 -05:00
Caleb Kleveter a7ac89932c
Fixed compiler errors and warnings in JSONTests test suite 2019-03-21 06:56:52 -05:00
Caleb Kleveter 3c7de700d2
Conformed JSON and Number to Equatable. Created testSingleValueEncodingFailure test case 2018-04-26 13:06:27 -05:00
Caleb Kleveter 6cba6229ad
Added T type check to JSONCoder.decode(_:from:) method for people who attempt to decode JSON to JSON 2018-04-24 09:00:21 -05:00
Caleb Kleveter c373c86ee7 Updated Vapor version to RC release 2018-02-28 09:04:17 -06:00
Caleb Kleveter df774cb49a Created test for small data set and decoding 2018-02-20 14:25:49 -06:00
Caleb Kleveter de5bd2b890 Added benchmarks for Swift's builtin JSON encoder and decoder 2018-02-19 06:56:40 -06:00
Caleb Kleveter b66949fdd8 Created tests for custom JSON coding 2018-02-16 16:19:14 -06:00
Caleb Kleveter 6d3272117f Created WeatherData models for testing JSON coding 2018-02-16 14:48:47 -06:00
Caleb Kleveter ae054c11dd Updated current test suite for custom JSON encoding and decoding 2018-02-16 07:50:23 -06:00
Caleb Kleveter f2d92d1fd5 Created custom JSON encoder and decoder 2018-02-15 16:12:49 -06:00
Caleb Kleveter d6ac121908 Removed exccess syntax from JSONTests.userJSON property 2018-02-07 13:40:12 -06:00
Caleb Kleveter 246061ef1b Added JSON conversion tests to JSONTests.allTests 2018-02-07 11:45:59 -06:00
Caleb Kleveter b711d1aa61 Wrote tests for JSON conversion 2018-02-06 10:31:03 -06:00
Caleb Kleveter 0de22ad3e5 Added missing tests to JSONTests.allTests 2018-02-02 12:43:18 -06:00
Caleb Kleveter 39911265d4 Wrote encoding and decoding benchmarks 2018-02-02 12:21:57 -06:00
Caleb Kleveter 41b119a27a Wrote encoding and decoding tests 2018-02-02 12:18:33 -06:00
Caleb Kleveter f033b9d5dd Wipped tests 2018-02-02 08:56:30 -06:00
Caleb Kleveter bbddc99e88 Generated project 2018-02-02 08:55:41 -06:00