miller/go/regtest/input/json-stringify-0004.json
John Kerl b06c449384
Make regression tests invokable from 'go test' (#491)
* incorporate reg-test into "go test" framework
* reg-test -> regtest everywhere
* update .github/workflows/go.yml
2021-04-12 23:00:53 -04:00

9 lines
476 B
JSON

{
"hostname": "\"localhost\"",
"pid": "12345",
"req": "{\n \"id\": 6789,\n \"method\": \"GET\",\n \"path\": \"api/check\",\n \"host\": \"foo.bar\",\n \"headers\": {\n \"host\": \"bar.baz\",\n \"user-agent\": \"browser\"\n }\n}",
"res": "{\n \"status_code\": 200,\n \"header\": {\n \"content-type\": \"text\",\n \"content-encoding\": \"plain\"\n }\n}",
"empty1": "{}",
"empty2": "[]",
"wrapper": "{\n \"empty3\": {},\n \"emtpy4\": []\n}"
}