user_json.h 421 B

1234567891011121314151617
  1. #ifndef __USER_JSON_H__
  2. #define __USER_JSON_H__
  3. #include "json/jsonparse.h"
  4. #include "json/jsontree.h"
  5. #define jsonSize 2*1024
  6. void json_parse(struct jsontree_context *json, char *ptrJSONMessage);
  7. void json_ws_send(struct jsontree_value *tree, const char *path, char *pbuf);
  8. int json_putchar(int c);
  9. struct jsontree_value *find_json_path(struct jsontree_context *json, const char *path);
  10. #endif