Skip to content

Instantly share code, notes, and snippets.

@tlrx
Created August 5, 2016 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlrx/5df7b9fe79e076b98c731e07d877650d to your computer and use it in GitHub Desktop.
Save tlrx/5df7b9fe79e076b98c731e07d877650d to your computer and use it in GitHub Desktop.
My JSON sample
{
"title":"My awesome book",
"pages":456,
"price":27.99,
"timestamp":1428582942867,
"default":null,
"tags":[
"elasticsearch",
"java"
],
"authors":[
{
"name":"John Doe",
"lastname":"John",
"firstname":"Doe"
},
{
"name":"William Smith",
"lastname":"William",
"firstname":"Smith"
}
],
"properties":{
"weight":0.8,
"language":{
"en":{
"lang":"English",
"available":true,
"distributors":[
{
"name":"The Book Shop",
"addresses":[
{
"name":"address #1",
"street":"Hampton St",
"city":"London"
},
{
"name":"address #2",
"street":"Queen St",
"city":"Stornoway"
}
]
},
{
"name":"Sussex Books House"
}
]
},
"fr":{
"lang":"French",
"available":false,
"distributors":[
{
"name":"La Maison du Livre",
"addresses":[
{
"name":"address #1",
"street":"Rue Mouffetard",
"city":"Paris"
}
]
},
{
"name":"Thetra"
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment