aJson is the attempt to port a complete JSON implementation to Arduino. It is based on the cJSON implementation, reduced in size and removing one or two feature. The current mbed implementation only supports FILE* as input so you will have to use a temporary file for parsing your json input. https://github.com/interactive-matter/aJson
compatibility.h@2:ece3b5c4afed, 2012-09-07 (annotated)
- Committer:
- mimil
- Date:
- Fri Sep 07 09:30:33 2012 +0000
- Revision:
- 2:ece3b5c4afed
- Parent:
- 1:6df1d1f1b372
update to last git version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mimil | 1:6df1d1f1b372 | 1 | #ifndef COMPAT_AJSON__H |
mimil | 1:6df1d1f1b372 | 2 | #define COMPAT_AJSON__H |
mimil | 1:6df1d1f1b372 | 3 | |
mimil | 1:6df1d1f1b372 | 4 | #define fprintf_P fprintf |
mimil | 1:6df1d1f1b372 | 5 | #define PSTR(a) a |
mimil | 1:6df1d1f1b372 | 6 | #define strdup(a) strcpy((char*)malloc( strlen(a) + 1),a); |
mimil | 1:6df1d1f1b372 | 7 | |
mimil | 1:6df1d1f1b372 | 8 | |
mimil | 0:428cf9a51873 | 9 | #endif |