summaryrefslogtreecommitdiff
path: root/jsmn.h
blob: bdf1bff89337d1cacef56a1b798438525fe2fc03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __JSMN_H_
#define __JSMN_H_

typedef enum {
	JSON_OBJECT,
	JSON_ARRAY,
	JSON_STRING,
	JSON_OTHER
} jsontype_t;

typedef struct {
	jsontype_t type;
	int start;
	int end;
} jsontok_t;

#endif /* __JSMN_H_ */