I have tred Ape.log(JSON.encode(params)); It throws an error TypeError: JSON.encode is not a function
On May 24, 12:30 am, Manas B <[email protected]> wrote: > Hi there, > I been playing with APE for some time and i find some of the documents > are out dated. Specially the objects which carry the data. Things have > changed from 0.9 to 1.0. > > Thankfully, at Client side I can dump the objects in console.log and > analyse that. I have also created a page where i will be updating my > finding. That will help other to understand object easily. > > In order to dump data at server side one has to run ape in non daemon > mode. That way Ape.log will spit out the content on the screen. > > As i understand when you create a hook / cmd certain objects are > passed to the function which you can play with. I am havng problems > in dumping objects at server side. > > My problem is when i dump an object it just says object. As i > understand i need to jsonise the data at server side. how do you do > that? > > Please help > > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website :http://www.ape-project.org/ > Git Hub :http://github.com/APE-Project/ -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
