aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/json-iterator/go/jsoniter.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/json-iterator/go/jsoniter.go')
-rw-r--r--vendor/github.com/json-iterator/go/jsoniter.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/github.com/json-iterator/go/jsoniter.go b/vendor/github.com/json-iterator/go/jsoniter.go
new file mode 100644
index 0000000..c2934f9
--- /dev/null
+++ b/vendor/github.com/json-iterator/go/jsoniter.go
@@ -0,0 +1,18 @@
1// Package jsoniter implements encoding and decoding of JSON as defined in
2// RFC 4627 and provides interfaces with identical syntax of standard lib encoding/json.
3// Converting from encoding/json to jsoniter is no more than replacing the package with jsoniter
4// and variable type declarations (if any).
5// jsoniter interfaces gives 100% compatibility with code using standard lib.
6//
7// "JSON and Go"
8// (https://golang.org/doc/articles/json_and_go.html)
9// gives a description of how Marshal/Unmarshal operate
10// between arbitrary or predefined json objects and bytes,
11// and it applies to jsoniter.Marshal/Unmarshal as well.
12//
13// Besides, jsoniter.Iterator provides a different set of interfaces
14// iterating given bytes/string/reader
15// and yielding parsed elements one by one.
16// This set of interfaces reads input as required and gives
17// better performance.
18package jsoniter