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

Commit Graph

  • 7cceb6c2e3 Merge pull request #282 from caesarxuchao/optional-case-sensitivity Tao Wen 2018-06-10 17:13:47 +08:00
  • b92cf78708 Make case sensitivity optional. Fix https://github.com/kubernetes/kubernetes/issues/64612 Chao Xu 2018-06-07 18:36:06 -07:00
  • 8744d7c5c7 \n should not be ignored in base64 decode Tao Wen 2018-05-26 09:43:29 +08:00
  • 37cc313d18 fix #274, unescape before base64 decode Tao Wen 2018-05-26 09:38:52 +08:00
  • 2ddf6d7582 Merge pull request #266 from ceshihao/fix_base64_with_whitespace Tao Wen 2018-04-24 08:46:23 +08:00
  • 6a6742f0a2 fix base64 contains newline characters \r or \n ceshihao 2018-04-23 23:10:55 +08:00
  • 6c702ce12a fix #264 check io.EOF when test decoder.More Tao Wen 2018-04-20 16:10:56 +08:00
  • f88871b601 fix #263, support empty string as 0 in fuzz mode Tao Wen 2018-04-18 16:34:54 +08:00
  • f246f80f14 fix #260, support rename for extra.SupportPrivateFields Tao Wen 2018-04-18 16:28:55 +08:00
  • 51dd70305b add more test for #252 Tao Wen 2018-04-18 16:22:47 +08:00
  • a949c42748 fix #261 should load from reader Tao Wen 2018-04-18 16:11:14 +08:00
  • f89479f5c0 Merge pull request #257 from ash2k/release-writer Tao Wen 2018-04-08 08:25:46 +08:00
  • b858ec296c Release writer to enable GC Mikhail Mazurskiy 2018-04-07 21:40:08 +10:00
  • 885a41a0a6 Merge branch 'master' of https://github.com/json-iterator/go Tao Wen 2018-04-03 13:41:12 +08:00
  • 9e9a97040e always benchmark yourself Tao Wen 2018-04-03 13:41:01 +08:00
  • fb4d53e4cc Merge pull request #255 from bboreham/error-test Tao Wen 2018-04-02 13:50:44 +08:00
  • b53656d459 Check that a struct ends with closing brace Bryan Boreham 2018-04-01 22:02:44 +00:00
  • 8f27a81d90 Add a test for input errors Bryan Boreham 2018-04-01 22:01:15 +00:00
  • 4930b053b8 explit test case sensitive for #252 Tao Wen 2018-03-24 22:38:32 +08:00
  • 06e0f9391e fix #250 case insensitive field match Tao Wen 2018-03-20 21:43:30 +08:00
  • ca39e5af3e suport encode map[interface{}]interface{} 1.1.3 Tao Wen 2018-03-15 21:28:16 +08:00
  • 39acec93e0 expose DecoderOf and EncoderOf Tao Wen 2018-03-14 23:18:20 +08:00
  • 25fa392355 fix #245, always reuse existing value even UseNumber Tao Wen 2018-03-01 19:23:20 +08:00
  • d51e841de0 fix build on 1.8 Tao Wen 2018-02-28 20:29:23 +08:00
  • 3353055b2a use concurrent.Map for 1.8 support 1.1.2 Tao Wen 2018-02-28 17:11:57 +08:00
  • 455b3f8bb8 move reflect2 from plz to modern-go Tao Wen 2018-02-28 17:09:30 +08:00
  • 2a93f9003e fix #244 use BinaryAsStringExtension to make []byte pretty, while the output is valid json, but it can not be decoded by other json codec, as \x01 is decoded as \x01 by them, which is not original input Tao Wen 2018-02-27 12:40:48 +08:00
  • 9472474ffd test []byte behavior Tao Wen 2018-02-27 12:04:11 +08:00
  • ad83167dc6 fix #243 fuzzy decoder should take null as valid input Tao Wen 2018-02-26 23:22:22 +08:00
  • fff342fd04 gofmt Tao Wen 2018-02-24 22:04:41 +08:00
  • 8d6662b81b fix #242 add CreateMapKeyEncoder and CreateMapKeyDecoder to extension spi Tao Wen 2018-02-24 22:04:11 +08:00
  • a377e2656b add map key example Tao Wen 2018-02-23 18:20:14 +08:00
  • 0ac74bba4a upgrade reflect2 1.1.1 Tao Wen 2018-02-23 08:20:31 +08:00
  • ebe943a4a6 fix #241, support 32bit platform Tao Wen 2018-02-23 08:12:45 +08:00
  • 414d0307c9 fix struct decoder report error Tao Wen 2018-02-22 13:30:59 +08:00
  • 86e9fd72bc update pkg Tao Wen 2018-02-22 11:48:56 +08:00
  • be70f29b04 detect remaining bytes 1.1.0 Tao Wen 2018-02-22 10:37:32 +08:00
  • a3fdd37b9a use sync.Pool Tao Wen 2018-02-22 10:29:29 +08:00
  • d346ea6e55 get encoder without get type first Tao Wen 2018-02-22 10:20:19 +08:00
  • 820ec30bd6 get decoder without get type first Tao Wen 2018-02-22 10:18:27 +08:00
  • df8295a48a fix 1.8 Tao Wen 2018-02-22 10:13:38 +08:00
  • 99fc16a363 use reflect2 to replace reflect Tao Wen 2018-02-22 10:12:08 +08:00
  • a3866383f5 support recursive struct Tao Wen 2018-02-21 17:59:41 +08:00
  • 2fcbb23d96 rewrite how eface and iface are handled Tao Wen 2018-02-21 12:16:50 +08:00
  • ea6403326b fix #239, empty slice Tao Wen 2018-02-21 07:24:22 +08:00
  • 404d90796f move type declaration into separate files Tao Wen 2018-02-20 23:08:58 +08:00
  • b79587753b move any codec Tao Wen 2018-02-20 23:04:04 +08:00
  • 63ea5e3131 move encoder/decoder of native Tao Wen 2018-02-20 22:55:31 +08:00
  • 895a19f2dc move json raw message Tao Wen 2018-02-20 22:38:35 +08:00
  • 6327145300 move json number impl Tao Wen 2018-02-19 23:13:33 +08:00
  • c99d73acd0 rename Tao Wen 2018-02-19 23:08:01 +08:00
  • 3d39af6dd9 remove feature prefix Tao Wen 2018-02-19 23:04:25 +08:00
  • a016e87b9f move any codec Tao Wen 2018-02-19 23:01:19 +08:00
  • 08218647c3 use reflect2 to implement map decoder Tao Wen 2018-02-19 22:53:42 +08:00
  • d6f02cbd48 remove sliceHeader Tao Wen 2018-02-19 14:39:57 +08:00
  • b53aa13eb0 rename Tao Wen 2018-02-19 14:30:44 +08:00
  • e322da5531 rename Tao Wen 2018-02-19 14:30:23 +08:00
  • 1d41f3c0ed only consider ptr type if not root Tao Wen 2018-02-19 14:30:01 +08:00
  • 29604bf5c3 use reflect2 decode slice Tao Wen 2018-02-19 14:18:42 +08:00
  • cbc1786a76 change slice encoder to use reflect2 Tao Wen 2018-02-18 23:27:34 +08:00
  • 5a696808d6 fix any codec Tao Wen 2018-02-18 22:57:01 +08:00
  • d8e64aa825 support TextMarshaler as map key Tao Wen 2018-02-18 22:49:06 +08:00
  • 577ddede74 use extension to implement configs Tao Wen 2018-02-18 21:14:37 +08:00
  • 43d9384d67 fix marshaler support for iface case Tao Wen 2018-02-18 21:05:42 +08:00
  • 2074f25bd3 use extension to implement EscapeHtml config option Tao Wen 2018-02-17 22:55:35 +08:00
  • ef3038593b check nil for interface{} Tao Wen 2018-02-17 22:33:09 +08:00
  • 9dafbc667f when embedded ptr is nil, the fields should be omitted Tao Wen 2018-02-16 17:32:41 +08:00
  • a7a34507ab use reflect2 for json.Marshaler Tao Wen 2018-02-16 15:42:37 +08:00
  • 0e2b54800a remove EncodeInterface Tao Wen 2018-02-14 15:04:23 +08:00
  • e7c7f3b337 fix coverage 1.0.6 Tao Wen 2018-02-14 14:06:32 +08:00
  • 75810179f6 remove n from stream Tao Wen 2018-02-14 13:58:51 +08:00
  • 6a8f9fa342 Merge branch 'float-allocs' of git://github.com/brian-brazil/go into 1.1 Tao Wen 2018-02-14 11:37:27 +08:00
  • 24bb2eee9f fix #236 case sensitive when both upper case and lower case presents Tao Wen 2018-02-14 11:33:17 +08:00
  • 64cc784089 remove special handling for field Tao Wen 2018-02-14 10:31:55 +08:00
  • 477be43d00 consolidate more tests Tao Wen 2018-02-14 10:13:34 +08:00
  • a8708bca85 consolidate more tests Tao Wen 2018-02-14 08:58:59 +08:00
  • 658ff9ef15 consolidate more tests Tao Wen 2018-02-14 08:48:12 +08:00
  • 64c1c67885 consolidate more tests Tao Wen 2018-02-14 08:39:18 +08:00
  • e3bc511e5a consolidate more tests Tao Wen 2018-02-14 08:28:17 +08:00
  • 8fa357ab7b consolidate mor tests Tao Wen 2018-02-13 23:49:40 +08:00
  • 761ce8cce2 consolidate more tests Tao Wen 2018-02-13 20:58:29 +08:00
  • c3b6c1e845 consolidate skip tests Tao Wen 2018-02-13 20:41:21 +08:00
  • 0ed9de94f2 support asymmetric tests Tao Wen 2018-02-13 20:25:27 +08:00
  • 6fded6eb5f consolidate struct tags tests Tao Wen 2018-02-13 17:22:47 +08:00
  • dc3395f770 consolidate struct tests Tao Wen 2018-02-13 17:06:28 +08:00
  • bd4e013f98 consolidate slice tests Tao Wen 2018-02-13 16:20:08 +08:00
  • 48a4a1e4db consolidate map tests Tao Wen 2018-02-13 16:07:14 +08:00
  • 9bc223734a consolidate marshaler tests Tao Wen 2018-02-13 16:00:08 +08:00
  • eb9aeccee2 consolidate builtin tests Tao Wen 2018-02-13 15:48:39 +08:00
  • 28adca2a14 consolidate array test Tao Wen 2018-02-13 15:43:10 +08:00
  • a9b3f36b2f add test framework Tao Wen 2018-02-13 15:32:21 +08:00
  • 1e8e785321 Remove allocs from WriteFloat32/WriteFloat64 Brian Brazil 2018-02-07 17:30:57 +00:00
  • 002b5ae342 fix tests Tao Wen 2018-02-05 23:45:42 +08:00
  • 07f99a1124 fix build Tao Wen 2018-02-05 23:05:57 +08:00
  • 71f74dc71e implement #230 DisallowUnknownFields option added Tao Wen 2018-02-05 23:03:53 +08:00
  • 7990317be5 gofmt Tao Wen 2018-02-05 22:45:04 +08:00
  • 9edd73f752 fix build Tao Wen 2018-02-05 22:26:39 +08:00
  • 3d5ee1098a Merge branch 'master' of https://github.com/json-iterator/go Tao Wen 2018-02-05 21:43:52 +08:00
  • ee8cfb7547 cache frozenConfig Tao Wen 2018-02-05 21:43:37 +08:00
  • bca911dae0 Update README.md Tao Wen 2018-01-28 22:27:09 +08:00