Code refactoring for bpa operator
[icn.git] / cmd / bpa-operator / vendor / github.com / json-iterator / go / jsoniter.go
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.
18 package jsoniter