mystijk/ormma

Javascript API documentation says returned values in JSON, actually javascript object should be returned

Opened this issue · 0 comments

http://code.google.com/p/ormma/wiki/ORMMA_JavaScript

There is stated multiple times that returned values are in json:
> return values: JSON - {x, y, z}

Reference implementation returns javascript object instead. Seems that 
returning javascript object is right and problem is in documentation, not 
reference implementation.

JSON is encoded string with specific format, so if it was returning JSON, 
return value would be string.

Original issue reported on code.google.com by incredible.angst on 9 Sep 2011 at 12:47