Skip to content

Instantly share code, notes, and snippets.

@brendo
Created August 21, 2011 11:01
Show Gist options
  • Save brendo/1160469 to your computer and use it in GitHub Desktop.
Save brendo/1160469 to your computer and use it in GitHub Desktop.
Remote JSON conversion
{
"trends": {
"2011-08-21 11:00:00": [
{
"name": "#peopleiveseenlive",
"query": "#peopleiveseenlive",
"events": null,
"promoted_content": null
},
{
"name": "#ICanHonestlySay",
"query": "#ICanHonestlySay",
"events": null,
"promoted_content": null
},
{
"name": "#Underbelly",
"query": "#Underbelly",
"events": null,
"promoted_content": null
},
{
"name": "SAW OR Final Destination",
"query": "\"SAW OR Final Destination\"",
"events": null,
"promoted_content": null
},
{
"name": "Congrats Lucky",
"query": "\"Congrats Lucky\"",
"events": null,
"promoted_content": null
},
{
"name": "Polly and Waz",
"query": "\"Polly and Waz\"",
"events": null,
"promoted_content": null
},
{
"name": "SJ WON",
"query": "\"SJ WON\"",
"events": null,
"promoted_content": null
},
{
"name": "Master Chef Indonesia",
"query": "\"Master Chef Indonesia\"",
"events": null,
"promoted_content": null
},
{
"name": "Heracles - Feyenoord",
"query": "\"Heracles - Feyenoord\"",
"events": null,
"promoted_content": null
},
{
"name": "Game 7",
"query": "\"Game 7\"",
"events": null,
"promoted_content": null
}
]
},
"as_of": 1313924401
}
<remote-json-test status="fresh" creation="2011-08-21T20:45:43+10:00">
<as-of handle="as-of">1313923543</as-of>
<trends handle="trends">
<key value="2011-08-21 11:00:00" handle="2011-08-21-11-00-00">
<item>
<name handle="name">#peopleiveseenlive</name>
<query handle="query">#peopleiveseenlive</query>
<events handle="events"/>
<promoted-content handle="promoted-content"/>
</item>
<item>
<name handle="name">#ICanHonestlySay</name>
<query handle="query">#ICanHonestlySay</query>
<events handle="events"/>
<promoted-content handle="promoted-content"/>
</item>
<item>
<name handle="name">#herfey</name>
<query handle="query">#herfey</query>
<events handle="events"/>
<promoted-content handle="promoted-content"/>
</item>
<item>
<name handle="name">SJ WON</name>
<query handle="query">"SJ WON"</query>
<events handle="events"/>
<promoted-content handle="promoted-content"/>
</item>
<item>
<name handle="name">Congrats Super Junior</name>
<query handle="query">"Congrats Super Junior"</query>
<events handle="events"/>
<promoted-content handle="promoted-content"/>
</item>
<item>
<name handle="name">SAW OR Final Destination</name>
<query handle="query">"SAW OR Final Destination"</query>
<events handle="events"/>
<promoted-content handle="promoted-content"/>
</item>
<item>
<name handle="name">Polly and Waz</name>
<query handle="query">"Polly and Waz"</query>
<events handle="events"/>
<promoted-content handle="promoted-content"/>
</item>
<item>
<name handle="name">Heracles - Feyenoord</name>
<query handle="query">"Heracles - Feyenoord"</query>
<events handle="events"/>
<promoted-content handle="promoted-content"/>
</item>
<item>
<name handle="name">Master Chef Indonesia</name>
<query handle="query">"Master Chef Indonesia"</query>
<events handle="events"/>
<promoted-content handle="promoted-content"/>
</item>
<item>
<name handle="name">Starboy Nathan</name>
<query handle="query">"Starboy Nathan"</query>
<events handle="events"/>
<promoted-content handle="promoted-content"/>
</item>
</key>
</trends>
</remote-json-test>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment