Skip to content

Instantly share code, notes, and snippets.

@davidtsong
Created Jan 25, 2015
Embed
What would you like to do?
The json format standard for my application.
{
"users":{
"akash":{
"age": 18,
"status": true,
"location":{
"long": 123,
"lat": 123
},
"email":"scrub@scrubmail.com",
"school":"Granite Bay",
"type":"student"
},
"david":{
"subjects":[
"Math","English,Science"
],
"age": 14,
"status": true,
"location":{
"long":123,
"lat":123
},
"ratings":[
4,5,7,4
],
"rating":0,
"email":"scrub@scrubmail.com",
"desc":"Scrub who scrub scrubs",
"school":"Granite Bay",
"type":"tutor"
},
"ridoy":{
"subjects":[
"CS", "PE", "Culinary"
],
"age": 16,
"status": true,
"location":{
"long":123,
"lat":123
},
"ratings":[
4,5,7,4
],
"rating":0,
"email":"scrub@scrubmail.com",
"desc":"Scrub who scrub scrubs",
"school":"Granite Bay",
"type":"tutor"
},
"brandon":{
"age": 9,
"status": true,
"location":{
"long": 123,
"lat": 123
},
"email":"scrub@scrubmail.com",
"school":"Granite Bay",
"type":"student"
}
},
"conversations":{
"id":1,
"0":{
"Parties":["David", "Akash"],
"chat-id":1,
"Conversation":{
"0":{
"Time":"11:03PM 1-24-2015",
"Message":"David: Hi there Akash!"
},
"1":{
"Time":"11:04PM 1-24-2015",
"Message":"Akash: Hi there David!"
}
}
},
"1":{
"Parties":["David", "Brandon"],
"chat-id":1,
"Conversation":{
"0":{
"Time":"11:06PM 1-24-2015",
"Message":"David: Hi there Brandon!"
},
"1":{
"Time":"11:07PM 1-24-2015",
"Message":"Brandon: Hi there David!"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment