문제

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.

도움이 되었습니까?

해결책

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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top