Using for JSON string formatting

32 views
Skip to first unread message

Ed Anuff

unread,
Dec 18, 2007, 3:35:33 PM12/18/07
to json-taglib
I was excited to see this taglib, but I was hoping it would have the
ability to do JSON string formatting without having to define an
object, array, or property. I'm generating some Javascript via JSP
that I want to make sure is properly javascript escaped (i.e. newlines
and quotes replace with \n and \" and I often use the json.org classes
for that, but wanted to do that in a pure taglib fashion. Perhaps a
json:string tag?
Reply all
Reply to author
Forward
0 new messages