[Fusionforge-general] [Fusionforge-commits] FusionForge branch Branch_5_2 updated. 9b87c74306de5eec75770be3ac46f812f01f9c48
Manuel Vacelet
manuel.vacelet at gmail.com
Mon Mar 11 09:40:07 CET 2013
I don't have all context but why not using json_encode() ?
On Mon, Mar 11, 2013 at 9:30 AM, Thorsten Glaser <t.glaser at tarent.de> wrote:
> On Wed, 6 Mar 2013, Franck VILLAUME wrote:
>
> > + $returnString .=
> '\''.util_html_secure(addslashes($text_array[$i])).'\':'.$id_array[$i].',';
>
> That’s still not technically valid JSON, as JSON mandates
> the use of the double quote ‘"’ for strings. Also, it does
> *not* use util_html_secure style escapes…
>
> bye,
> //mirabilos
> --
> tarent solutions GmbH
> Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
> Tel: +49 228 54881-393 • Fax: +49 228 54881-314
> HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
> Geschäftsführer: Boris Esser, Sebastian Mancke
>
> _______________________________________________
> Fusionforge-general mailing list
> Fusionforge-general at lists.fusionforge.org
> http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-general
--
Twitter: @vaceletm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fusionforge.org/pipermail/fusionforge-general/attachments/20130311/66af46a3/attachment.html>
More information about the Fusionforge-general
mailing list