diff options
author | Rutger Broekhoff | 2023-12-29 21:31:53 +0100 |
---|---|---|
committer | Rutger Broekhoff | 2023-12-29 21:31:53 +0100 |
commit | 404aeae4545d2426c089a5f8d5e82dae56f5212b (patch) | |
tree | 2d84e00af272b39fc04f3795ae06bc48970e57b5 /vendor/github.com/json-iterator/go/jsoniter.go | |
parent | 209d8b0187ed025dec9ac149ebcced3462877bff (diff) | |
download | gitolfs3-404aeae4545d2426c089a5f8d5e82dae56f5212b.tar.gz gitolfs3-404aeae4545d2426c089a5f8d5e82dae56f5212b.zip |
Make Nix builds work
Diffstat (limited to 'vendor/github.com/json-iterator/go/jsoniter.go')
-rw-r--r-- | vendor/github.com/json-iterator/go/jsoniter.go | 18 |
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. | ||
18 | package jsoniter | ||