Skip to content

Instantly share code, notes, and snippets.

@jsilvestre
Created July 16, 2012 21:21
Show Gist options
  • Save jsilvestre/3125140 to your computer and use it in GitHub Desktop.
Save jsilvestre/3125140 to your computer and use it in GitHub Desktop.
New JSON format (GW2C)
{
"version" : 1,
"creation_date" : "2012-07-20",
"markers" : {
"trainers":{
"marker_types":{
"trainer_ranger" : {
"markers":[{"id": 1, "lng":-45.636962890625,"lat":29.439597566602927}]},
"trainer_necro" : {
"markers":[]
}
}
},
"explore":{
"marker_types":{
"hearts" : {
"markers":[
{"id":2,"lng":-44.384765625,"lat":29.19053283229458,
"data_translation" : {
"en" : {
"name" : "Help farmer Diah",
"desc" : "Help Diah by watering corn.",
"wikiLink" : "http://gw2.wiki.com/en/blabla"
},
"fr" : {
"name" : "Aider le fermier Diah",
"desc" : "Aider Diah en arrosant le mais.",
"wikiLink" : "http://gw2.wiki.com/fr/blabla"
}
}},
{"id":3,"lng":-46.636962890625,"lat":29.439597566602927,
"data_translation" : {
"en" : {
"name" : "Help farmer George",
"desc" : "",
"wikiLink" : ""
},
"fr" : {
"name" : "Aider le fermier George",
"desc" : "",
"wikiLink" : ""
}
}},
{"id":5,"lng":-37.430419921875,"lat":28.832746799225905,
"data_translation" : {
"en" : {
"name" : "Assist the Seraph at Shaemoor Garrison",
"desc" : "",
"wikiLink" : ""
},
"fr" : {
"name" : "Assister les Seraphins a la garnison de Shaemoor",
"desc" : "",
"wikiLink" : ""
}
}},
{"id": -1,"lng":-36.430419921875,"lat":29.832746799225905,
"data_translation" : {
"en" : {
"name" : "new heart",
"desc" : "",
"wikiLink" : ""
},
"fr" : {
"name" : "Assister les Seraphins a la garnison de Shaemoor",
"desc" : "",
"wikiLink" : ""
}
}}
]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment