Sin descripción

Tao Wen af4982b22c support decode int key map hace 8 años
.idea d97f5db769 Marshal comment hace 8 años
assert 101dfdbb2a fix 4 fields object decoding hace 9 años
require 101dfdbb2a fix 4 fields object decoding hace 9 años
LICENSE 923358c07e Initial commit hace 9 años
README.md 5310d4aa9a syntax highlight hace 8 años
example_test.go 5b27aaa62c update test hace 8 años
feature_adapter.go 404c0ee44b Decoder doc hace 8 años
feature_any.go 53f8d370b5 fix wrap any hace 8 años
feature_any_array.go bf459b9a49 object lazy any support get all hace 8 años
feature_any_bool.go edb96991a8 add all integer types hace 8 años
feature_any_float.go edb96991a8 add all integer types hace 8 años
feature_any_int32.go edb96991a8 add all integer types hace 8 años
feature_any_int64.go edb96991a8 add all integer types hace 8 años
feature_any_invalid.go edb96991a8 add all integer types hace 8 años
feature_any_nil.go 9d1feb5431 fix tests hace 8 años
feature_any_object.go e36f926072 fix random go test failure hace 8 años
feature_any_string.go edb96991a8 add all integer types hace 8 años
feature_any_uint32.go edb96991a8 add all integer types hace 8 años
feature_any_uint64.go edb96991a8 add all integer types hace 8 años
feature_iter.go 8656482625 array lazy fill and full fill hace 8 años
feature_iter_array.go 928bc4ce72 ReadArrayCB hace 9 años
feature_iter_float.go fe9fa8900e #31 support json.RawMessage hace 8 años
feature_iter_int.go da7ed7809b use hash for field dispatching hace 8 años
feature_iter_object.go e5a1e704ad #25 make fielding binding case insensitive hace 8 años
feature_iter_skip.go 7d2ae80c37 #27 support json.Unmarshaler hace 8 años
feature_iter_string.go 7e046e6aa7 simplify read string, and support null hace 8 años
feature_reflect.go af4982b22c support decode int key map hace 8 años
feature_reflect_array.go 5488fde97f fix one field struct interface{} optimization compatibility hace 8 años
feature_reflect_map.go af4982b22c support decode int key map hace 8 años
feature_reflect_native.go fe9fa8900e #31 support json.RawMessage hace 8 años
feature_reflect_object.go 59e71bacc8 #36 handle anonymous hace 8 años
feature_stream.go 2922666717 fix read int hace 8 años
feature_stream_float.go 5fbe4e387d #21 #22 marshal float precisely by default hace 8 años
feature_stream_int.go 102cd8748e fix write int hace 9 años
jsoniter_adapter_test.go 45bbb40a9f #34 implement NewEncoder hace 8 años
jsoniter_array_test.go e36f926072 fix random go test failure hace 8 años
jsoniter_base64_test.go d63a00f0bf Formated, doced. Also fixed few minor bugs. hace 9 años
jsoniter_bool_test.go 38d613acf2 bool any hace 8 años
jsoniter_customize_test.go e36f926072 fix random go test failure hace 8 años
jsoniter_demo_test.go 87149ae489 add simple marshal benchmark hace 8 años
jsoniter_find_end_test.go 9d1feb5431 fix tests hace 8 años
jsoniter_float_test.go 377b892102 support big float and int hace 8 años
jsoniter_int_test.go ad3a7fde32 #30 support json.Number hace 8 años
jsoniter_interface_test.go e36f926072 fix random go test failure hace 8 años
jsoniter_io_test.go d63a00f0bf Formated, doced. Also fixed few minor bugs. hace 9 años
jsoniter_large_file_test.go d63a00f0bf Formated, doced. Also fixed few minor bugs. hace 9 años
jsoniter_map_test.go af4982b22c support decode int key map hace 8 años
jsoniter_nested_test.go d63a00f0bf Formated, doced. Also fixed few minor bugs. hace 9 años
jsoniter_null_test.go fc44cb2d91 #26 do not enforce pointer as optional hace 8 años
jsoniter_object_test.go e36f926072 fix random go test failure hace 8 años
jsoniter_optional_test.go e36f926072 fix random go test failure hace 8 años
jsoniter_reflect_native_test.go 5b0609f901 support int/string encode hace 9 años
jsoniter_reflect_struct_test.go e36f926072 fix random go test failure hace 8 años
jsoniter_reflect_test.go 5b2a731963 implement readFloat32 fast path hace 9 años
jsoniter_skip_test.go d63a00f0bf Formated, doced. Also fixed few minor bugs. hace 9 años
jsoniter_string_test.go fa16f3c75c wrap string hace 8 años

README.md

rcard

jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go

Usage

100% compatibility with standard lib

Replace

import "encoding/json"
json.Marshal(&data)

with

import "github.com/json-iterator/go"
jsoniter.Marshal(&data)

Replace

import "encoding/json"
json.Unmarshal(input, &data)

with

import "github.com/json-iterator/go"
jsoniter.Unmarshal(input, &data)

How to get

go get github.com/json-iterator/go

Contribution Welcomed !

Report issue or pull request, or email taowen@gmail.com, or Gitter chat