Trying to push out some data using APE server inlinepush. If I try and push something like:
http://ape.server:6969?[{"cmd":"inlinepush","params":{"raw":"postmsg","data":{"values":[-4.6E-8,4.3E-8,4.7E-6]},"password":"testpasswd","channel":"testchannel"}}] the response is okay [{"time":"1337989224","raw":"pushed","data":{"value":"ok"}}] but what the browser appears to receive is (watching parameter 'raws' in function parseResponse of Core.js) "[{"time":"1337989369","raw":"postmsg","data":{"values": [-0.000000,0.000000,0.000005]}}]" which JSON.parse turns into an array [0,0,0.000005] so it looks like the APE server or 'pushinline' command is unpacking the scientific notation and truncating it off. I'd like fix the APE server to pass scientific notation without changing it. Any pointers where in the server code to look? -- 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/
