julioterra / Arduino_Rest_Server

Simple rest-inspired server for Arduino that works with Serial or Ethernet connections.
31 stars 10 forks source link

JSON Parsing Error #1

Closed newtriks closed 12 years ago

newtriks commented 12 years ago

Hi,

Thanks for the util, so far so good except one small issue. The json formatting seems to be throwing a couple of issues on verification e.g.

[ { 'resource_name':'input_1', 'state':0 }, ]

The 2 main points are the use of single and not double quotes when wrapping strings and the trailing comma leading to an unexpected end?

julioterra commented 12 years ago

Thanks for the feedback. I have updated the library to fix both of these issues. Let me know if you encounter any other problems.

newtriks commented 12 years ago

Thanks for that :)

julioterra commented 12 years ago

Simon, I noticed another small issue that crept into the code when I was making the final round of updates. I have fixed it, so I recommend you download the latest version.

Julio Terra @ 917-545-1612

On Nov 25, 2011, at 12:23, Simon Baileyreply@reply.github.com wrote:

Thanks for that :)


Reply to this email directly or view it on GitHub: https://github.com/julioterra/Arduino_Rest_Server/issues/1#issuecomment-2874907

newtriks commented 12 years ago

Hey thanks Julio, will download now cheers...

Simon