Trying to convert Json / jit.text into plain text
HI All,
I'm using a jit.uldl object to download a json file from twitter into a jit.textfile. I cant work out a way of converting the jit.text output into plain text. Has anyone got any thoughts on how i could do this? Cheers.
here is the patch im using:
Sorry for the vague question everyone. Just found an online json decoder (http://www.freeformatter.com/json-formatter.html#ad-output) and realise that i will still have to parse the text in some way to extract the information i'm after. I only want the string of text with the "name" prefix as text. I heard the regexp object might help with this...
here is an example of the text generated:
"url": "http://twitter.com/search/%23ThoughtsDuringSchool",
"query": "%23ThoughtsDuringSchool",
"name": "#ThoughtsDuringSchool",
"promoted_content": null,
"events": null
I found a solution! here: https://cycling74.com/forums/adapting-twitter4j-java-code-to-run-as-mxj