├── .github ├── versions │ └── go └── workflows │ └── go.yml ├── .gitignore ├── LICENSE ├── README.md ├── go.mod ├── jsonpp.go ├── jsonpp_test.go └── testdata ├── multiple ├── dup.json ├── empty_blob.json ├── expected_dup.json ├── expected_empty_blob.json ├── expected_long_malformed.json ├── expected_malformed_multiple.json ├── expected_multiple.json ├── expected_no_newline_empty_blob.json ├── expected_tweet.json ├── long_malformed.json ├── malformed_multiple.json ├── multiple.json ├── no_newline_empty_blob.json └── tweet.json └── one ├── expected_singular.json └── singular.json /.github/versions/go: -------------------------------------------------------------------------------- 1 | 1.16 -------------------------------------------------------------------------------- /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | jsonpp 2 | *.6 3 | *.8 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/README.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/jmhodges/jsonpp 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /jsonpp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/jsonpp.go -------------------------------------------------------------------------------- /jsonpp_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/jsonpp_test.go -------------------------------------------------------------------------------- /testdata/multiple/dup.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/testdata/multiple/dup.json -------------------------------------------------------------------------------- /testdata/multiple/empty_blob.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /testdata/multiple/expected_dup.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/testdata/multiple/expected_dup.json -------------------------------------------------------------------------------- /testdata/multiple/expected_empty_blob.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /testdata/multiple/expected_long_malformed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/testdata/multiple/expected_long_malformed.json -------------------------------------------------------------------------------- /testdata/multiple/expected_malformed_multiple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/testdata/multiple/expected_malformed_multiple.json -------------------------------------------------------------------------------- /testdata/multiple/expected_multiple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/testdata/multiple/expected_multiple.json -------------------------------------------------------------------------------- /testdata/multiple/expected_no_newline_empty_blob.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /testdata/multiple/expected_tweet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/testdata/multiple/expected_tweet.json -------------------------------------------------------------------------------- /testdata/multiple/long_malformed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/testdata/multiple/long_malformed.json -------------------------------------------------------------------------------- /testdata/multiple/malformed_multiple.json: -------------------------------------------------------------------------------- 1 | {} 2 | } 3 | {} 4 | -------------------------------------------------------------------------------- /testdata/multiple/multiple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/testdata/multiple/multiple.json -------------------------------------------------------------------------------- /testdata/multiple/no_newline_empty_blob.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /testdata/multiple/tweet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/testdata/multiple/tweet.json -------------------------------------------------------------------------------- /testdata/one/expected_singular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/testdata/one/expected_singular.json -------------------------------------------------------------------------------- /testdata/one/singular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmhodges/jsonpp/HEAD/testdata/one/singular.json --------------------------------------------------------------------------------