Forums > MaxMSP

Trying to convert Json / jit.text into plain text

Aug 07 2012 | 2:28 pm

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. --

Aug 07 2012 | 8:53 pm

Sorry for the vague question everyone. Just found an online json decoder ( 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": "",
"query": "%23ThoughtsDuringSchool",
"name": "#ThoughtsDuringSchool",
"promoted_content": null,
"events": null

Aug 07 2012 | 11:57 pm
Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP