Changeset 8e3b7ac for lib/json_util.h
- Timestamp:
- 2012-11-08T22:38:20Z (12 years ago)
- Branches:
- master
- Children:
- fb351ce
- Parents:
- 0688e99
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/json_util.h
r0688e99 r8e3b7ac 24 24 #include "json.h" 25 25 26 json_value *json_o_get( json_value *obj, json_char *name ); 27 const char *json_o_str( json_value *obj, json_char *name ); 26 #define JSON_O_FOREACH(o, k, v) \ 27 char *k; json_value *v; int __i; \ 28 for( __i = 0; k = (o)->u.object.values[__i].name, \ 29 v = (o)->u.object.values[__i].value, \ 30 __i < (o)->u.object.length; __i ++ ) 31 32 json_value *json_o_get( const json_value *obj, const json_char *name ); 33 const char *json_o_str( const json_value *obj, const json_char *name ); 34 char *json_o_strdup( const json_value *obj, const json_char *name );
Note: See TracChangeset
for help on using the changeset viewer.