secureJSON (Issue 68)

5 views
Skip to first unread message

John Whish

unread,
Dec 16, 2011, 5:07:07 PM12/16/11
to ValidateThis-dev
Hi guys,

Just looking for some inspiration as to how to get around the issue of
the in-built CF JSON functions using the secureprefix if enabled in
the admin. I found a ticket on the CF bugtracker about it:
http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=80423

The only solution I can think of is to replace all the JSON
serialisation etc with something like CFJSON.

Any thoughts welcome!

Thanks,

-John

Matt Quackenbush

unread,
Dec 16, 2011, 5:10:25 PM12/16/11
to validate...@googlegroups.com
I'm not familiar with that particular issue, but I _still_ use json.cfc for all of my JSON stuff because there are other issues with the built-in JSON functions (like capitalization, for one). In other words, I am quite in favor of ditching any use of the built-in stuff until they actually fix it to be usable across the board. :-)



--
You received this message because you are subscribed to the Google Groups "ValidateThis-dev" group.
To post to this group, send email to validate...@googlegroups.com.
To unsubscribe from this group, send email to validatethis-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/validatethis-dev?hl=en.


John Whish

unread,
Dec 16, 2011, 5:19:08 PM12/16/11
to validate...@googlegroups.com

Ok, cool, thanks Matt :)

The only thing that it doesn't have is an isjson method, but a good ol' try and catch should do the trick I think.

- sent by a little green robot powered device

Reply all
Reply to author
Forward
0 new messages