Question

Hi I was wondering if there is a way to parse json response from a server.

I'm using arduino uno with a wifi shield. Also is it advisable to process json? I read that the uno may have too little memory for this.

Était-ce utile?

La solution

I guess you are communicating with you wifi shield via USART. So you read characters/Strings. Why shouldn't you be able to parse them any way you like? Depending on how trivial your json is you could roll your own parser or have a look at ajson.

Memory should not be a problem as long as your json documents are relatively small (< ~1k).

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top