Skip to content

Commit

Permalink
better sample jsons
Browse files Browse the repository at this point in the history
  • Loading branch information
brianm committed Feb 4, 2017
1 parent d4aa79a commit e32fe7c
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 38 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 17 additions & 4 deletions bad.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
{ "name": "Brian", "age": 42, "jobs":["programmer"]}
{ "name": "Ian", "age": 9, "school":{"grade":4, "teacher":"Jenn"}}
{ name": "Cora", "age": 7, "school":{"grade":1, "teacher":"Judith"}}
{ "name": "Joy", "jobs":["photographer"] }
{
"name": "Brian",
"pets":["dog"],
"diet":{
"drink": "coffee",
eat: "bacon"
}
}
{
"name": "Keith",
"pets": ["cat", "dog"]
"diet": {
"drink": "tea",
"eat": "granola"
}
}

21 changes: 17 additions & 4 deletions sample.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
{ "name": "Brian", "age": 42, "jobs":["programmer"]}
{ "name": "Ian", "age": 9, "school":{"grade":4, "teacher":"Jenn"}}
{ "name": "Cora", "age": 7, "school":{"grade":1, "teacher":"Judith"}}
{ "name": "Joy", "jobs":["photographer"] }
{
"name": "Brian",
"pets":["dog"],
"diet":{
"drink": "coffee",
"eat": "bacon"
}
}
{
"name": "Keith",
"pets": ["cat", "dog"]
"diet": {
"drink": "tea",
"eat": "granola"
}
}

29 changes: 0 additions & 29 deletions sample2.json

This file was deleted.

0 comments on commit e32fe7c

Please sign in to comment.