added the data for a test case
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
28
t/JSON.awk.in
Normal file
28
t/JSON.awk.in
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"first_name": "John",
|
||||||
|
"last_name": "Smith",
|
||||||
|
"is_alive": true,
|
||||||
|
"age": 27,
|
||||||
|
"address": {
|
||||||
|
"street_address": "21 2nd Street",
|
||||||
|
"city": "New York",
|
||||||
|
"state": "NY",
|
||||||
|
"postal_code": "10021-3100"
|
||||||
|
},
|
||||||
|
"phone_numbers": [
|
||||||
|
{
|
||||||
|
"type": "home",
|
||||||
|
"number": "212 555-1234"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "office",
|
||||||
|
"number": "646 555-4567"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"children": [
|
||||||
|
"Catherine",
|
||||||
|
"Thomas",
|
||||||
|
"Trevor"
|
||||||
|
],
|
||||||
|
"spouse": null
|
||||||
|
}
|
||||||
16
t/JSON.awk.out
Normal file
16
t/JSON.awk.out
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
["first_name"] "John"
|
||||||
|
["last_name"] "Smith"
|
||||||
|
["is_alive"] true
|
||||||
|
["age"] 27
|
||||||
|
["address","street_address"] "21 2nd Street"
|
||||||
|
["address","city"] "New York"
|
||||||
|
["address","state"] "NY"
|
||||||
|
["address","postal_code"] "10021-3100"
|
||||||
|
["phone_numbers",0,"type"] "home"
|
||||||
|
["phone_numbers",0,"number"] "212 555-1234"
|
||||||
|
["phone_numbers",1,"type"] "office"
|
||||||
|
["phone_numbers",1,"number"] "646 555-4567"
|
||||||
|
["children",0] "Catherine"
|
||||||
|
["children",1] "Thomas"
|
||||||
|
["children",2] "Trevor"
|
||||||
|
["spouse"] null
|
||||||
Reference in New Issue
Block a user