Hi,
I used the Zend_Json::encode function to convert a php array to a Json
object. But what i realised is that Json seems to be escaping the '/' in the
items/properties. I file mappings saved in the db and for each record
returned by my model, Json escapes the paths specified:
[{"EventID":"144","EventName":"Wordpress 2009","VenueName":"Nose Restaurant
and Wine Bar
","VenueID":"567","MainThumbnail":"event1440914\/main_thumbnail\/thumb_event1440914.jpg","Area":"Durbanville","City":"Cape
Town","FromDate":"2008-02-03","IsFeatured":"0","DateAdded":"2008-09-14
21:03:28","ToDate":"2009-03-03","RSVP":"George
Micheal","RSVPContact":"0219531253"}]
Is there any property that turns this escaping off?
Thanks and will be looking forward to your responses :)
-----
dee
--
View this message in context:
http://www.nabble.com/Zend_Json-and-escaping...-tp21119364p21119364.html
Sent from the Zend Framework mailing list archive at Nabble.com.