|
CToon C 0.6.1
A C99 TOON/JSON serialization library
|
#include <ctoon.h>

Data Fields | |
| size_t | idx |
| size_t | max |
| ctoon_mut_val * | cur |
| ctoon_mut_val * | pre |
| ctoon_mut_val * | obj |
A mutable TOON object iterator.
ctoon_mut_obj_iter_remove() to remove current value.Example
If the ordering of the keys is known at compile-time, you can use this method to speed up value lookups:
ctoon_mut_obj_iter_get() and ctoon_mut_obj_iter_getn() | ctoon_mut_val* ctoon_mut_obj_iter::cur |
| size_t ctoon_mut_obj_iter::max |
| ctoon_mut_val* ctoon_mut_obj_iter::obj |
| ctoon_mut_val* ctoon_mut_obj_iter::pre |