version 1.4, 2018/03/07 12:29:28
|
version 1.4.6.1, 2018/04/16 14:02:35
|
Line 133 ait_val_t *json_token2val(const char *jstr, jtok_t * _
|
Line 133 ait_val_t *json_token2val(const char *jstr, jtok_t * _
|
* |
* |
* @jstr = JSON string |
* @jstr = JSON string |
* @tok = Token for convert |
* @tok = Token for convert |
* @return =NULL error or !=NULL allocated str, after use should be e_free() | * @return =NULL error or !=NULL allocated str, after use should be json_freestr()|e_free() |
*/ |
*/ |
char *json_token2str(const char *jstr, jtok_t * __restrict tok); |
char *json_token2str(const char *jstr, jtok_t * __restrict tok); |
|
#define json_freestr(x) e_free((x)) |
/* |
/* |
* json_token2num() - Return token to numeric |
* json_token2num() - Return token to numeric |
* |
* |
Line 144 char *json_token2str(const char *jstr, jtok_t * __rest
|
Line 145 char *json_token2str(const char *jstr, jtok_t * __rest
|
* @return number |
* @return number |
*/ |
*/ |
long json_token2num(const char *jstr, jtok_t * __restrict tok); |
long json_token2num(const char *jstr, jtok_t * __restrict tok); |
|
/* |
|
* json_token2dbl() - Return token to double |
|
* |
|
* @jstr = JSON string |
|
* @tok = Token for convert |
|
* @return number |
|
*/ |
|
double json_token2dbl(const char *jstr, jtok_t * __restrict tok); |
/* |
/* |
* json_token2array() - Convert token to string array |
* json_token2array() - Convert token to string array |
* |
* |