[Seaside] seaside Digest, Vol 175, Issue 6

David Pennington david at totallyobjects.com
Mon Jul 10 15:26:45 UTC 2017

Thanks for the advice however, I always find responses like this outside of my capabilities due to my lack of in-depth knowledge of Seaside.
In fact, I solved my problem quite simply by writing a few lines of JavaScript as follows:

var first = data.indexOf("{");var next = data.indexOf("}");userJson = data.slice(first,next + 1);userJson = userJson.replace(/&quot/g, '\"');userJson = userJson.replace(/;/g, '');return $.parseJSON(userJson)
where the $.parseJSON is a jquery.mobile.js method.
This worked perfectly and I now have a fully organised JavaScript object that has the parsed JSON.
--------- Original Message ---------
From: <seaside at lists.squeakfoundation.org>
To: <seaside at lists.squeakfoundation.org>
Subject: seaside Digest, Vol 175, Issue 6
Date: 07/10/2017 13:00:07 (Mon)

Send seaside mailing list submissions to
	seaside at lists.squeakfoundation.org

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
	seaside-request at lists.squeakfoundation.org

You can reach the person managing the list at
	seaside-owner at lists.squeakfoundation.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of seaside digest..."

Today's Topics:

   1. Removing HTTP headers (David Pennington)
   2. Re: Removing HTTP headers (Philippe Marschall)

seaside mailing list
seaside at lists.squeakfoundation.org

Message sent using Winmail Mail Server
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20170710/f46de0a5/attachment.html>

More information about the seaside mailing list