|
@ -37,6 +37,10 @@ bool json_to_number(const char *buffer, const jsmntok_t *tok, |
|
|
bool json_to_u64(const char *buffer, const jsmntok_t *tok, |
|
|
bool json_to_u64(const char *buffer, const jsmntok_t *tok, |
|
|
uint64_t *num); |
|
|
uint64_t *num); |
|
|
|
|
|
|
|
|
|
|
|
/* Extract number from this (may be a string, or a number literal) */ |
|
|
|
|
|
bool json_to_u32(const char *buffer, const jsmntok_t *tok, |
|
|
|
|
|
uint32_t *num); |
|
|
|
|
|
|
|
|
/* Extract number from this (may be a string, or a number literal) */ |
|
|
/* Extract number from this (may be a string, or a number literal) */ |
|
|
bool json_to_u16(const char *buffer, const jsmntok_t *tok, |
|
|
bool json_to_u16(const char *buffer, const jsmntok_t *tok, |
|
|
uint16_t *num); |
|
|
uint16_t *num); |
|
|