Tao Wen
|
0e2b54800a
|
remove EncodeInterface
|
2018-02-14 15:04:23 +08:00 |
|
Tao Wen
|
71f74dc71e
|
implement #230 DisallowUnknownFields option added
|
2018-02-05 23:03:53 +08:00 |
|
Tao Wen
|
9edd73f752
|
fix build
|
2018-02-05 22:26:39 +08:00 |
|
Tao Wen
|
ee8cfb7547
|
cache frozenConfig
|
2018-02-05 21:43:37 +08:00 |
|
Tao Wen
|
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
|
2018-01-28 17:00:11 +08:00 |
|
李盼
|
c27f6f9350
|
config: add OnlyTaggedField config, only process tagged fields in struct
|
2018-01-09 17:29:47 +08:00 |
|
Tao Wen
|
96fcb84835
|
fix #215 lazy load more
|
2017-12-23 10:52:17 +08:00 |
|
Tao Wen
|
60a9df5ebc
|
fix #214 report EOF like stdlib
|
2017-12-21 22:18:28 +08:00 |
|
Tao Wen
|
ff2b70c1db
|
support config level extension
|
2017-11-23 00:09:35 +08:00 |
|
Tao Wen
|
f1258b01aa
|
fix #191 do not always assume the object field is simple string
|
2017-10-31 22:38:41 +08:00 |
|
Peng Gao
|
5fffb9b8f7
|
Fix standard compatiblility
Encode has trailing newline at the end.
Signed-off-by: Peng Gao <peng.gao.dut@gmail.com>
|
2017-10-26 15:15:36 +08:00 |
|
Tao Wen
|
6240e1e798
|
#185 add jsoniter.Valid
|
2017-10-10 08:57:02 +08:00 |
|
Tao Wen
|
90574c5ca3
|
#166 support ValidateJsonRawMessage in ConfigCompatibleWithStandardLibrary
|
2017-09-14 23:54:40 +08:00 |
|
Tao Wen
|
2dc0031b26
|
#152 gofmt
|
2017-08-25 12:53:23 +08:00 |
|
Tao Wen
|
2066b01acb
|
#146 support config TagKey
|
2017-08-22 00:12:09 +08:00 |
|
Tao Wen
|
d249b05a85
|
rename ValueType, to avoid collision with json.Number
|
2017-08-05 07:10:15 +08:00 |
|
Tao Wen
|
f0487718f6
|
document public symbols
|
2017-07-09 16:09:23 +08:00 |
|
Tao Wen
|
bede1d7f40
|
fix build; add document for exported symbols
|
2017-07-09 14:48:34 +08:00 |
|
Tao Wen
|
678c297af3
|
#75 support MarshalIndent
|
2017-06-29 20:48:27 +08:00 |
|
Tao Wen
|
8f8e16b4c2
|
#63 keep struct field order
|
2017-06-23 08:21:02 +08:00 |
|
Tao Wen
|
caaa04195e
|
#69 fix unicode support
|
2017-06-21 18:25:37 +08:00 |
|
Tao Wen
|
ff3c624fa9
|
fix anonymous fields
|
2017-06-21 00:26:18 +08:00 |
|
Tao Wen
|
486534c67c
|
#67 time as int64
|
2017-06-20 17:43:47 +08:00 |
|
Tao Wen
|
818ae1331a
|
#68 number to string
|
2017-06-20 15:11:01 +08:00 |
|
Tao Wen
|
be221df432
|
#66 Make extension api like the java version
|
2017-06-20 10:41:54 +08:00 |
|
Tao Wen
|
aa01f57b7f
|
rename AdaptedDecoder => Decoder and AdaptedEncoder => Encoder
|
2017-06-20 08:00:43 +08:00 |
|
Tao Wen
|
b3170a8cef
|
rename Encoder => ValEncoder and Decoder => ValDecoder
|
2017-06-20 07:59:45 +08:00 |
|
Tao Wen
|
39c9bb226a
|
fix lossy float marshal and omit empty
|
2017-06-20 07:51:38 +08:00 |
|
Tao Wen
|
945fe53724
|
fix html escape test and omit empty
|
2017-06-20 07:46:13 +08:00 |
|
Tao Wen
|
f5edf564c8
|
gofmt
|
2017-06-19 23:43:53 +08:00 |
|
Tao Wen
|
31afe6450e
|
add Api interface to allow save the frozen config
|
2017-06-19 13:43:22 +08:00 |
|
Tao Wen
|
985e263300
|
#61 removed internal buffer from lazy array and object; jsoniter.Get replaced jsoniter.UnmarshalAny
|
2017-06-18 22:22:13 +08:00 |
|
Tao Wen
|
7a049ec79c
|
#60 support read interface{} as json.Number
|
2017-06-18 15:22:37 +08:00 |
|
Tao Wen
|
0195110b5b
|
gofmt
|
2017-06-17 21:11:23 +08:00 |
|
Tao Wen
|
50e4910c63
|
document how to get best performance
|
2017-06-17 17:14:34 +08:00 |
|
Tao Wen
|
3c8bd9ef54
|
#57 copy bytes
|
2017-06-17 14:36:38 +08:00 |
|
Tao Wen
|
952a42af6c
|
#57 copy bytes
|
2017-06-17 14:36:05 +08:00 |
|
Tao Wen
|
17bd91fd71
|
#57 reuse stream and iterator
|
2017-06-17 14:23:02 +08:00 |
|
Tao Wen
|
b31b1301e2
|
#59 add ConfigFastest
|
2017-06-17 10:21:37 +08:00 |
|
Tao Wen
|
69bc64b6d8
|
#54 support sort map keys
|
2017-06-16 16:46:30 +08:00 |
|
Tao Wen
|
a6ea770365
|
#53 implement SetEscapeHtml
|
2017-06-16 00:10:05 +08:00 |
|
Tao Wen
|
5f22e50c89
|
#53 support escapeHtml
|
2017-06-15 23:55:04 +08:00 |
|
Tao Wen
|
d867c8ba5c
|
#53 split config into Config and frozenConfig
|
2017-06-13 18:49:35 +08:00 |
|
Tao Wen
|
d0418857ce
|
#53 move current config EnableXXX
|
2017-06-13 17:47:40 +08:00 |
|
Tao Wen
|
48e9f6ec84
|
move IndentionStep to config
|
2017-06-13 17:03:27 +08:00 |
|
Tao Wen
|
acddcf5bbf
|
#53 extract out config
|
2017-06-13 16:58:53 +08:00 |
|