asJSONString

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

asJSONString

sebastianconcept
Hi guys,

I'm serializing an instance to JSON but I see the instVars with a "@" as prefix

for example, aLogin object (with instVars: 'email password')  gets serialized as {"@email":"[hidden email]","@password":"whatever"}

how can I prevent the injection of that @ preceeding the instvarnames?

who inserts those? jquery or amber? ideas?

thanks

sebastian

o/