Doodle3D / doodle3d-firmware

The API of the Doodle3D WiFi box. This can for example talk to print3d, save settings, update the firmware etc.
www.doodle3d.com
GNU General Public License v2.0
13 stars 9 forks source link

Ajax communication message formatting #4

Closed woutgg closed 9 years ago

woutgg commented 11 years ago

The current comma-separated values are rather restrictive. Json is more versatile (e.g. key/value pairs) and handles quotation and related issues out of the box.

At the very least, the current format should be extended with key/value fields.

peteruithoven commented 9 years ago

@woutgg Do you remember which messages you where referring to here? The API is all in json.

woutgg commented 9 years ago

I think it was about the initial message formatting. csv was refactored to json in this commit, introducing use of serializeAsJson(). Closing this one.

peteruithoven commented 9 years ago

Thanks for the clarification