-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjjp_wrap.h
22 lines (9 loc) · 844 Bytes
/
jjp_wrap.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef jjp_jjp_wrap_h
#define jjp_jjp_wrap_h
#include <jsonpath.h>
float jjp_float( const char * json, jsmntok_t * tokens, unsigned int tokens_count, const char * jsonpath, unsigned int current_object, int * success );
double jjp_double( const char * json, jsmntok_t * tokens, unsigned int tokens_count, const char * jsonpath, unsigned int current_object, int * success );
int jjp_int( const char * json, jsmntok_t * tokens, unsigned int tokens_count, const char * jsonpath, unsigned int current_object, int * success );
long jjp_long( const char * json, jsmntok_t * tokens, unsigned int tokens_count, const char * jsonpath, unsigned int current_object, int * success );
int jjp_boolean( const char * json, jsmntok_t * tokens, unsigned int tokens_count, const char * jsonpath, unsigned int current_object, int * success );
#endif