Created
August 5, 2016 15:53
-
-
Save tlrx/5df7b9fe79e076b98c731e07d877650d to your computer and use it in GitHub Desktop.
My JSON sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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