JSON Safe Text
David Bovill
david at viral.academy
Thu Jul 23 17:22:19 EDT 2015
Any tricks to ensure that text I receive from an internet (HTML) source -
destined to be placed into a nice pretty JSON wrapper is safe to go? At the
moment it is bugging out somewhere.
I'm placing the text into an array and then using Monte's mergJsonEncode
function to decode it. Usually works fine - but in this case it looks like
the content needs some tidying before I put it into the array.
Hand escaping characters is not really what I want to do - maybe someone
has a function I can use?
More information about the use-livecode
mailing list