Trying to convert Json / jit.text into plain text

Aug 7, 2012 at 2:28pm

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:

– Pasted Max Patch, click to expand. –
#63831
Aug 7, 2012 at 8:53pm

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

#230175
Aug 7, 2012 at 11:57pm
#230176

You must be logged in to reply to this topic.