69bc64b6d8
#54 support sort map keys
jsoniter-go-0.9.14
2017-06-16 16:46:30 +08:00
e0e2423e9a
#53 test compatibility without html escape
2017-06-16 16:03:02 +08:00
a6ea770365
#53 implement SetEscapeHtml
2017-06-16 00:10:05 +08:00
5f22e50c89
#53 support escapeHtml
2017-06-15 23:55:04 +08:00
d867c8ba5c
#53 split config into Config and frozenConfig
2017-06-13 18:49:35 +08:00
d0418857ce
#53 move current config EnableXXX
2017-06-13 17:47:40 +08:00
48e9f6ec84
move IndentionStep to config
2017-06-13 17:03:27 +08:00
acddcf5bbf
#53 extract out config
2017-06-13 16:58:53 +08:00
788918b85d
#56 nil map or array should be null not [] or {}
2017-06-13 09:14:19 +08:00
6e5817b773
Merge pull request #55 from thockin/output_tests
...
WIP: Tests to compare against stdlib
2017-06-12 01:47:50 -05:00
7480e41836
Add output tests for maps of builtins
...
This tests for exact stdlib compatibility.
2017-06-11 21:09:56 -07:00
9215b3c508
Add output tests for builtin types
...
This fuzzes a type, marshals it with stdlib and json-iterator, compares,
then unmarshals with stdlib and json-iterator and compares. This is
checking for literal, byte-for-byte compatibility.
In every case the test is exactly the same.
It also include benchmark functions to compare stdlib vs json-iterator.
This depends on a couple PRs to be merged in gofuzz.
2017-06-11 21:04:59 -07:00
64e500f3c8
Merge branch 'master' of https://github.com/json-iterator/go
2017-06-12 10:13:22 +08:00
3307ce3ba2
#50 map key unlike object field, can contain escaped char
2017-06-12 10:13:13 +08:00
6f50f15678
decoder/encoder;float precision doc
2017-06-11 16:30:31 +08:00
cee09816e3
decoder/encoder;float precision doc
2017-06-11 16:28:31 +08:00
cdbad22d22
test more package description
2017-06-11 15:35:45 +08:00
b0c9f047e2
test more than one pakcage description
2017-06-11 15:32:58 +08:00
6bd13c2948
Merge branch 'master' of https://github.com/json-iterator/go
2017-06-09 17:06:38 +08:00
84ad508437
#48 should return error if concrete tpye unknown
2017-06-09 17:06:27 +08:00
4f909776cf
Merge pull request #49 from zhaitianduo/master
...
Use jsoniter instead of json in example
2017-06-09 03:32:31 -05:00
962c470806
fix import not use
2017-06-09 16:28:20 +08:00
46d443fbad
use jsoniter for example
2017-06-09 16:25:58 +08:00
2608d40f2a
example unmarshal
2017-06-08 12:08:47 +08:00
3cf822853f
example unmarshal
2017-06-08 12:07:03 +08:00
26708bccc9
report error when string end not found
2017-06-08 09:46:19 +08:00
d75b539bad
add test for scientific float
2017-06-07 21:34:56 +08:00
cfffa29c8a
gofmt
2017-06-06 23:27:00 +08:00
925df245d3
good enough indent implementation
2017-06-06 23:18:37 +08:00
962a8cd303
#40 support UseNumber
2017-06-06 23:15:15 +08:00
6509ba05df
Merge pull request #41 from 1046102779/master
...
解析时,如果输出参数不是指针类型,直接报错,避免程序挂掉
2017-06-06 10:03:06 -05:00
579dbf3c1d
Merge pull request #42 from 1046102779/patch-1
...
把floatDigits改为intDigits
2017-06-06 10:02:26 -05:00
aa5181db67
把floatDigits改为intDigits
2017-06-06 21:08:04 +08:00
67be6df2b1
Update feature_adapter.go
2017-06-06 20:01:43 +08:00
0f5379494a
unmarshal failed return non-pointer error
2017-06-06 19:36:33 +08:00
d09e2419ba
update benchmark
2017-06-06 16:55:32 +08:00
e1a71f6ba1
update benchmark
2017-06-06 16:54:26 +08:00
dcb78991c4
flush when buffer is large enough
2017-06-06 14:16:54 +08:00
9e8238cdc6
remove unused file
2017-06-06 12:41:13 +08:00
a4e5abf492
support []byte; marshal without copy
2017-06-06 09:44:56 +08:00
3979955e69
support TextMarshaler as map key
2017-06-06 00:09:33 +08:00
5fd09f0e02
remove mapInterfaceEncoder
2017-06-05 23:56:37 +08:00
af4982b22c
support decode int key map
2017-06-05 23:53:48 +08:00
29dc1d407d
write map with int key
2017-06-05 23:01:00 +08:00
5b27aaa62c
update test
2017-06-05 22:10:01 +08:00
106636a191
update test
2017-06-05 22:08:28 +08:00
f50c4cfbbe
Merge branch 'master' of https://github.com/json-iterator/go
2017-06-05 22:05:02 +08:00
87149ae489
add simple marshal benchmark
2017-06-05 22:04:52 +08:00
c0a4ad72e1
example test
2017-06-05 20:37:08 +08:00
404c0ee44b
Decoder doc
2017-06-05 19:57:20 +08:00