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?