Commit Graph

702 Commits

Author SHA1 Message Date
Masaaki Goshima c9f1d0043e Add test cases 2020-08-25 00:56:23 +09:00
Masaaki Goshima d2bc6b002c Add validation for decode_float 2020-08-25 00:56:01 +09:00
Masaaki Goshima 84486c012b
Merge pull request #41 from goccy/feature/fix-omitempty
Fix processing of omitempty tag
2020-08-24 02:06:24 +09:00
Masaaki Goshima 9ba13f68ff Add special operation for opStructFieldHead and opStructField 2020-08-24 01:50:18 +09:00
Masaaki Goshima 93ce3f8bd2 Add new operation 2020-08-24 01:48:52 +09:00
Masaaki Goshima 1e765df4f7 Fix indent for empty struct 2020-08-23 00:54:43 +09:00
Masaaki Goshima ff33d8e78d Fix condition for indent 2020-08-23 00:54:19 +09:00
Masaaki Goshima f7a6d65195 Fix new line char 2020-08-23 00:53:38 +09:00
Masaaki Goshima 1e4216f0bc Add test case 2020-08-23 00:53:08 +09:00
Masaaki Goshima 76cbb4ce68
Merge pull request #40 from goccy/feature/fix-anonymous-struct
Fix anonymous struct fields
2020-08-22 18:30:21 +09:00
Masaaki Goshima 6a0fd170c6 Fix head operation 2020-08-22 18:28:03 +09:00
Masaaki Goshima 47d7d26a50 Fix head operation 2020-08-22 18:16:06 +09:00
Masaaki Goshima cdf2498285 Fix processing of anonymous field 2020-08-22 18:15:39 +09:00
Masaaki Goshima 45acfe9424 Add test cases 2020-08-22 18:13:58 +09:00
Masaaki Goshima a969fe7aff Fix dump format 2020-08-22 18:13:44 +09:00
Masaaki Goshima 97787fd7b6
Merge pull request #39 from goccy/feature/fix-nil-marshaler
Fix nested embedded structure that has same name fields
2020-08-22 15:48:05 +09:00
Masaaki Goshima 7ada1b2467 Fix conflicted anonymous fields 2020-08-22 15:40:18 +09:00
Masaaki Goshima a718a9a1ef Fix anonymous fields 2020-08-22 12:58:34 +09:00
Masaaki Goshima 3e03bdc53f Fix null validation 2020-08-21 11:51:33 +09:00
Masaaki Goshima 78fe23fc64 Add test cases 2020-08-21 11:08:30 +09:00
Masaaki Goshima 95bfc8c549 Add validation for null value 2020-08-21 11:07:55 +09:00
Masaaki Goshima 991c8c411b
Merge pull request #38 from goccy/feature/fix-encoding-json-number
Fix encoding of json.Number
2020-08-21 01:14:27 +09:00
Masaaki Goshima 445cc4c1af Fix encoding of json.Number 2020-08-21 01:12:29 +09:00
Masaaki Goshima a257c9b964
Merge pull request #37 from goccy/feature/fix-cycle-pointer
Fix cycle pointer value
2020-08-21 01:07:41 +09:00
Masaaki Goshima d7518e3151 Fix seenPtr 2020-08-21 01:01:24 +09:00
Masaaki Goshima 23dbdf7fbd Add test case 2020-08-20 23:56:50 +09:00
Masaaki Goshima 7ac966b81e Fix cycle pointer value 2020-08-20 23:56:12 +09:00
Masaaki Goshima 51a1e71c6b
Merge pull request #36 from goccy/feature/fix-string-pointer
Fix encoding of primitive pointer with string tag
2020-08-20 22:02:57 +09:00
Masaaki Goshima f434070076 Fix encoding of primitive pointer with string tag 2020-08-20 22:00:20 +09:00
Masaaki Goshima f2795a7ea3
Merge pull request #35 from goccy/feature/fix-bytes-of-implementing-marshaler
Fix []byte type of implemeting Marshaler
2020-08-20 18:04:26 +09:00
Masaaki Goshima cdd9e281b9 Fix test case 2020-08-20 18:02:14 +09:00
Masaaki Goshima d3d5df5bd4 Fix []byte type of implemeting Marshaler 2020-08-20 17:58:28 +09:00
Masaaki Goshima 8d18f5f3f0
Merge pull request #34 from goccy/feature/fix-map-key
Fix map key by UnmarshalText
2020-08-20 17:50:00 +09:00
Masaaki Goshima 8d029cddbe Fix map key by UnmarshalText 2020-08-20 17:47:38 +09:00
Masaaki Goshima 652e7a9369
Merge pull request #33 from goccy/feature/fix-float-encoding-format
Fix encoding format for float32 and float64
2020-08-20 15:39:27 +09:00
Masaaki Goshima ae1b244386 Fix encoding format for float32 and float64 2020-08-20 15:36:00 +09:00
Masaaki Goshima f30c85fcfd
Merge pull request #32 from goccy/feature/support-string-tag
Support string tag
2020-08-20 12:59:52 +09:00
Masaaki Goshima 74276c6af3 Fix decoder for string tag 2020-08-20 12:38:50 +09:00
Masaaki Goshima b3305a6306 Support decoding for uintptr type 2020-08-19 19:56:29 +09:00
Masaaki Goshima 27d0480952 Add test case for string tag 2020-08-19 19:56:20 +09:00
Masaaki Goshima 22f3bba9a8 Support string tag operation 2020-08-19 19:56:02 +09:00
Masaaki Goshima 8f7cb46c5d Add string tag operation 2020-08-19 19:55:06 +09:00
Masaaki Goshima 4e3378926b
Merge pull request #31 from goccy/feature/support-bytes
Support encoding of []byte type
2020-08-19 10:52:58 +09:00
Masaaki Goshima 13a15040b3 Support encoding of []byte type 2020-08-19 10:34:11 +09:00
Masaaki Goshima 9c8cd890af Remove debug print 2020-08-19 00:41:55 +09:00
Masaaki Goshima 19f905fcd7
Merge pull request #30 from goccy/feature/add-testcase-for-marshaler
Add test cases for MarshalJSON and MarshalText
2020-08-19 00:34:52 +09:00
Masaaki Goshima 1d2beb8473 Add test cases for MarshalJSON and MarshalText 2020-08-19 00:32:45 +09:00
Masaaki Goshima 4232d1d16d
Merge pull request #29 from goccy/feature/fix-marshaler
Fix Marshaler
2020-08-18 14:13:34 +09:00
Masaaki Goshima 7ffe1ddb35 Fix MarshalJSON/MarshalText 2020-08-18 13:36:36 +09:00
Masaaki Goshima a45bb76d99
Merge pull request #28 from goccy/feature/improve-performance
Refactor encodeEscapedString ( for improvement performance )
2020-08-15 23:14:26 +09:00