1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-30 23:23:49 +02:00

Commit Graph

  • 28452fcdec cow cache is not same, as map read will modify the underlying map. use sync.Map for 1.9 and above, and mutex if sync.Map not available 1.0.5 Tao Wen 2018-01-28 17:00:11 +08:00
  • ea8c33040f fix #228 Tao Wen 2018-01-27 16:25:48 +08:00
  • 358cfc3929 Merge branch 'master' of https://github.com/json-iterator/go Tao Wen 2018-01-25 14:48:02 +08:00
  • c39a632e65 fix #227, fix empty json.Number Tao Wen 2018-01-25 14:47:50 +08:00
  • e31252f2e2 Merge pull request #225 from mgood/empty-array-fix Tao Wen 2018-01-23 23:31:07 +08:00
  • 807e4a8b20 Optimize 0-length array case Matt Good 2018-01-22 14:03:50 -08:00
  • e78b7e89b6 Merge branch 'master' of https://github.com/json-iterator/go Tao Wen 2018-01-21 20:59:32 +08:00
  • 945d1aaa19 fix #140 uintptr will no lock the address from gc Tao Wen 2018-01-21 20:59:18 +08:00
  • ba3857729b Fix encoding 0-length arrays Matt Good 2018-01-16 11:02:03 -08:00
  • c3ed5e85e0 Merge pull request #222 from neverlee/mydev Tao Wen 2018-01-09 18:30:25 +08:00
  • c27f6f9350 config: add OnlyTaggedField config, only process tagged fields in struct 李盼 2018-01-09 17:29:47 +08:00
  • 0ab880662f fix #219 should check real value for empty instead of just the pointer for nested field Tao Wen 2018-01-07 13:57:46 +08:00
  • 6dad2de6cc fix build Tao Wen 2018-01-04 17:18:16 +08:00
  • 11c1cce0d8 fix #217 when input is null, non-decodable type should not be considered as error, to be compatible with stdlib Tao Wen 2018-01-04 16:19:26 +08:00
  • 96fcb84835 fix #215 lazy load more Tao Wen 2017-12-23 10:52:17 +08:00
  • e7a8aea845 Merge branch 'master' of https://github.com/json-iterator/go Tao Wen 2017-12-21 22:18:40 +08:00
  • 60a9df5ebc fix #214 report EOF like stdlib Tao Wen 2017-12-21 22:18:28 +08:00
  • 7b060ec866 Merge pull request #210 from coocood/master Tao Wen 2017-12-18 08:22:47 +09:00
  • 25f147f530 add ReadNumber for Iterator. Ewan Chou 2017-12-17 16:44:04 +08:00
  • a9b9c73b4d fix #207 delay unsupported type error reporting Tao Wen 2017-12-15 10:13:11 +08:00
  • e0df39fda2 fix #206, do not allow nil pointer as unmarshal input Tao Wen 2017-12-14 17:18:05 +08:00
  • 13f86432b8 do not use defer() in read int Tao Wen 2017-12-12 18:52:41 +08:00
  • d2a7335211 fix #202 #203 #204 map encoder not proplery initialized Tao Wen 2017-12-08 21:18:59 +08:00
  • b2a706d14b reverse last commit, need a better fix Tao Wen 2017-12-08 06:15:49 +08:00
  • 23078876c5 fix #203 consider MarshalJSON as non empty Tao Wen 2017-12-07 23:20:43 +08:00
  • 051434fab7 fix #198, use dep for vendoring Tao Wen 2017-11-30 10:42:24 +08:00
  • be6688fc1a fix #200, do not use symbolic link in the code Tao Wen 2017-11-30 10:34:05 +08:00
  • ff2b70c1db support config level extension Tao Wen 2017-11-23 00:09:35 +08:00
  • f7279a603e fix out of range 1.0.4 Tao Wen 2017-11-15 23:34:21 +08:00
  • 9f088cbcc4 fix #195 when decode float as int, report it clearly Tao Wen 2017-11-15 23:25:12 +08:00
  • 3c0e5762c4 fix #196 do not hard code 1 << 49 Tao Wen 2017-11-15 23:15:31 +08:00
  • d394a135a1 #197 fix place holder encoder to use EncodeInterface, WriteToStream is unsafe when the real encoder is unknown Tao Wen 2017-11-15 22:56:23 +08:00
  • 9fddff05f0 try to fix #194 with larger array Tao Wen 2017-11-11 08:31:44 +08:00
  • b1b003864e expose OptionalEncoder&OptionalDecoder; add attachment to Stream&Iterator for customized decoder/encoder Tao Wen 2017-11-08 11:41:45 +08:00
  • aed5a81f09 fix #190 handle empty input Tao Wen 2017-10-31 22:47:02 +08:00
  • f1258b01aa fix #191 do not always assume the object field is simple string Tao Wen 2017-10-31 22:38:41 +08:00
  • fbd210edfc Merge pull request #189 from ggaaooppeenngg/compatible-with-map Tao Wen 2017-10-26 18:39:38 -05:00
  • 640251ab91 Fix standard compatiblility Peng Gao 2017-10-27 00:27:58 +08:00
  • 06b2a7cf1d Merge pull request #188 from ggaaooppeenngg/compatible Tao Wen 2017-10-26 06:41:01 -05:00
  • 5fffb9b8f7 Fix standard compatiblility Peng Gao 2017-10-26 15:15:34 +08:00
  • 7e3b776024 change jsoniter-sloppy to jsoniter_sloppy Tao Wen 2017-10-23 15:03:44 +08:00
  • 6240e1e798 #185 add jsoniter.Valid 1.0.3 Tao Wen 2017-10-10 08:57:02 +08:00
  • 0149a5cf4a fix #183 error message not only show expectation, but also the actual value Tao Wen 2017-10-09 08:24:51 +08:00
  • 5068c8baaf #183 limit error message size Tao Wen 2017-10-09 08:16:52 +08:00
  • 16f78601b5 fix #184, support null as number Tao Wen 2017-10-07 09:29:32 +08:00
  • 8f50a91be2 fix #181, support string as json.Number and jsoniter.Number Tao Wen 2017-10-06 18:08:14 +08:00
  • 73c7bc881e fix #180, add missing methods to jsoniter.Number Tao Wen 2017-10-06 17:56:36 +08:00
  • 4de15a3a87 Merge pull request #182 from MOZGIII/patch-1 Tao Wen 2017-10-04 02:25:32 -05:00
  • 14b28b2226 Used writeTwoBytes in Stream.WriteEmptyArray MOZGIII 2017-10-03 22:14:36 +03:00
  • abe3c4016b fix #179 Tao Wen 2017-09-26 15:35:55 +08:00
  • dbb1ef3f63 #177 flush buffer should check available again Tao Wen 2017-09-21 21:04:45 +08:00
  • 46b20bbbec #178 SkipAndReturnBytes should return copy of memory Tao Wen 2017-09-21 20:18:45 +08:00
  • fdfe0b9a69 Merge branch 'olegshaldybin-skip-unexported-fields' Tao Wen 2017-09-19 10:06:59 +08:00
  • faa3dcf46a do not report error when field is unexported Tao Wen 2017-09-19 10:06:34 +08:00
  • 1f58120d43 Always skip unexported fields when encoding Oleg Shaldybin 2017-09-18 10:52:01 -07:00
  • 6ed27152e0 Update README.md 1.0.2 Tao Wen 2017-09-17 16:07:42 +08:00
  • 3c298d8a76 Merge pull request #172 from olegshaldybin/more-stdlib-compat Tao Wen 2017-09-17 03:05:36 -05:00
  • 9f6e5962a9 Improve stdlib compatibility Oleg Shaldybin 2017-09-15 14:05:38 -07:00
  • c463aa12c4 Merge pull request #173 from toffaletti/more-nil-interface-fixes Tao Wen 2017-09-16 18:36:43 -05:00
  • b5d2607a6d replace should.Equal(nil, err) with should.NoError(err) Jason Toffaletti 2017-09-16 16:30:04 -07:00
  • 48cc4d965a improve test Jason Toffaletti 2017-09-16 16:27:32 -07:00
  • c59c42fda0 fix decoding of nil non-empty interface Jason Toffaletti 2017-09-16 16:24:55 -07:00
  • 8324374402 add tests for decoding nil interfaces Jason Toffaletti 2017-09-16 16:24:27 -07:00
  • 2017f3866b fix encoding of nil marshaler interface Jason Toffaletti 2017-09-16 16:08:32 -07:00
  • ddc5af4512 fix encoding of nil non-empty interface Jason Toffaletti 2017-09-16 16:04:36 -07:00
  • 2f7e5c8dd7 add failing tests for nil non-empty interfaces Jason Toffaletti 2017-09-16 16:00:48 -07:00
  • 92772579dd Merge pull request #170 from olegshaldybin/marshal-enum-pointer 1.0.1 Tao Wen 2017-09-15 09:08:45 -05:00
  • ae57d167e8 Fix custom marshaler for enum types Oleg Shaldybin 2017-09-14 23:04:54 -07:00
  • eef35e549b Merge pull request #169 from toffaletti/fix-nil-interface Tao Wen 2017-09-15 00:45:11 -05:00
  • 005d86dc44 fix handling of nil empty interface Jason Toffaletti 2017-09-14 21:32:42 -07:00
  • e658f6597a add failing test for handling of nil interface with omitempty Jason Toffaletti 2017-09-14 20:44:42 -07:00
  • f8eb43eda3 Merge pull request #168 from olegshaldybin/null-booleans Tao Wen 2017-09-14 20:58:31 -05:00
  • 18a241d40b Allow null booleans Oleg Shaldybin 2017-09-14 16:20:27 -07:00
  • 0fdf883ac0 Merge pull request #167 from olegshaldybin/shorter-sleep Tao Wen 2017-09-14 18:23:29 -05:00
  • 34fbec74ad Shorter sleep while waiting for encoder/decoder Oleg Shaldybin 2017-09-14 12:29:38 -07:00
  • 90574c5ca3 #166 support ValidateJsonRawMessage in ConfigCompatibleWithStandardLibrary Tao Wen 2017-09-14 23:54:40 +08:00
  • 6a4ba7bfa9 Merge branch 'master' of https://github.com/json-iterator/go Tao Wen 2017-09-09 08:46:07 +08:00
  • 0828e559d0 #164 support interface{} with ptr Tao Wen 2017-09-09 08:45:57 +08:00
  • 2c67d0f68a Merge pull request #163 from dvrkps/patch-2 Tao Wen 2017-09-07 11:25:07 -05:00
  • f29a0391bc travis: add 1.x to go versions Davor Kapsa 2017-09-07 17:12:42 +02:00
  • 374e68a144 Merge pull request #162 from cch123/fix-bool-to-number Tao Wen 2017-09-06 00:19:18 -05:00
  • b134d86290 optimize code Xargin 2017-09-06 13:14:54 +08:00
  • bc3221879d fix fuzzy decoder from bool value to number Xargin 2017-09-06 12:31:56 +08:00
  • 8c7fc7584a #159 fix fuzzy decoder, the newIter assigned io.EOF error to original iterator, which stopped further processing Tao Wen 2017-09-06 00:31:25 +08:00
  • db32ee8c2d #157 number can be null Tao Wen 2017-09-05 13:00:03 +08:00
  • d80309af3b #156 invoke Marshaler defined on pointer types Tao Wen 2017-09-01 15:44:12 +08:00
  • 36b14963da #153 fix invalid utf8 using same implementation as the standard library 1.0.0 Tao Wen 2017-08-29 23:58:51 +08:00
  • f706335302 #153 fix critical bug: infinite loop when write string is invalid utf8 Tao Wen 2017-08-29 23:39:43 +08:00
  • 2dc0031b26 #152 gofmt Tao Wen 2017-08-25 12:53:23 +08:00
  • cdbd2ed810 #145 interface {} customizatoin is recursive Tao Wen 2017-08-22 10:39:01 +08:00
  • 39e9d67807 Merge branch 'master' of https://github.com/json-iterator/go Tao Wen 2017-08-22 00:12:18 +08:00
  • 2066b01acb #146 support config TagKey Tao Wen 2017-08-22 00:12:09 +08:00
  • ac3b3cd160 test []interface{} Tao Wen 2017-08-21 22:43:51 +08:00
  • 887789156a Merge pull request #147 from thockin/output_tests Tao Wen 2017-08-11 12:55:48 +08:00
  • 7df5a67d0d Add tests for int64 Tim Hockin 2017-08-10 20:58:49 -07:00
  • 9c358632dc #144 make []byte support Unmarshaler&Marshaler Tao Wen 2017-08-09 13:59:40 +08:00
  • 1cfa233923 #143 make jsoniter.Number same meaning as json.Number, however UseNumber still returns json.Number. 1.9 alias support should be added later Tao Wen 2017-08-05 07:22:53 +08:00
  • d249b05a85 rename ValueType, to avoid collision with json.Number Tao Wen 2017-08-05 07:10:15 +08:00
  • abbd16da6c #140 blind fix Tao Wen 2017-08-02 09:20:43 +08:00
  • b67201557a avoid gc issue Tao Wen 2017-08-01 08:34:38 +08:00