#include <stdlib.h>
#include <stdbool.h>
#include "real.h"
Go to the source code of this file.
|
| json_out_t * | json_start (vfs_file_t *file, uint32_t max_levels) |
| |
| bool | json_end (json_out_t *json) |
| |
| bool | json_start_object (json_out_t *json) |
| |
| bool | json_start_tagged_object (json_out_t *json, const char *tag) |
| |
| bool | json_end_object (json_out_t *json) |
| |
| bool | json_start_array (json_out_t *json, const char *tag) |
| |
| bool | json_end_array (json_out_t *json) |
| |
| bool | json_add_string (json_out_t *json, const char *tag, const char *s) |
| |
| bool | json_add_int (json_out_t *json, const char *tag, int32_t value) |
| |
| bool | json_add_real (json_out_t *json, const char *tag, real_t value, uint8_t decimal_places) |
| |
| bool | json_parse_string (char *json, json_callback_ptr callback, void *data) |
| |
◆ json_callback_ptr
| typedef bool(* json_callback_ptr) (char *tag, char *value, bool is_string, void *data) |
◆ json_out_t
◆ json_add_int()
| bool json_add_int |
( |
json_out_t * |
json, |
|
|
const char * |
tag, |
|
|
int32_t |
value |
|
) |
| |
◆ json_add_real()
| bool json_add_real |
( |
json_out_t * |
json, |
|
|
const char * |
tag, |
|
|
real_t |
value, |
|
|
uint8_t |
decimal_places |
|
) |
| |
◆ json_add_string()
| bool json_add_string |
( |
json_out_t * |
json, |
|
|
const char * |
tag, |
|
|
const char * |
s |
|
) |
| |
◆ json_end()
◆ json_end_array()
◆ json_end_object()
◆ json_parse_string()
◆ json_start()
◆ json_start_array()
| bool json_start_array |
( |
json_out_t * |
json, |
|
|
const char * |
tag |
|
) |
| |
◆ json_start_object()
◆ json_start_tagged_object()
| bool json_start_tagged_object |
( |
json_out_t * |
json, |
|
|
const char * |
tag |
|
) |
| |