JsonParser.h 799 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Copyright (c) 2019
  3. *
  4. * This library is free software; you can redistribute it and/or modify
  5. * it under the terms of the MIT license. See COPYING for details.
  6. */
  7. /**
  8. * @file
  9. * @brief Methods for retrieving the json-c Parse.
  10. */
  11. //#include "config.h"
  12. #include "json_object.h"
  13. #ifndef _JsonParser_h_
  14. #define _JsonParser_h_
  15. /**
  16. * @see Print JSON_VALUE
  17. */
  18. void print_json_value(json_object *jobj); /* Print JSON_VALUE */
  19. /**
  20. *
  21. * @see JSON_PARSE_ARRAY
  22. */
  23. void json_parse_array( json_object *jobj, char *key); /* JSON_PARSE_ARRAY */
  24. /**
  25. *
  26. * @see Parsing the json object
  27. */
  28. void json_parse(json_object * jobj); /* JSON_PARSE_OBJECT */
  29. /**
  30. *
  31. * @see Receive Message routine
  32. */
  33. void ReceivedMessage(void *in, size_t len);
  34. #endif