Flipper Developer Docs
Loading...
Searching...
No Matches
mjs_json.h
1
/*
2
* Copyright (c) 2016 Cesanta Software Limited
3
* All rights reserved
4
*/
5
6
#ifndef MJS_JSON_H_
7
#define MJS_JSON_H_
8
9
#if defined(__cplusplus)
10
extern
"C"
{
11
#endif
/* __cplusplus */
12
13
MJS_PRIVATE mjs_err_t to_json_or_debug(
14
struct
mjs
*
mjs
,
15
mjs_val_t v,
16
char
* buf,
17
size_t
size,
18
size_t
* res_len,
19
uint8_t is_debug);
20
21
MJS_PRIVATE mjs_err_t
22
mjs_json_stringify(
struct
mjs
*
mjs
, mjs_val_t v,
char
* buf,
size_t
size,
char
** res);
23
MJS_PRIVATE
void
mjs_op_json_stringify(
struct
mjs
*
mjs
);
24
MJS_PRIVATE
void
mjs_op_json_parse(
struct
mjs
*
mjs
);
25
26
MJS_PRIVATE mjs_err_t mjs_json_parse(
struct
mjs
*
mjs
,
const
char
* str,
size_t
len, mjs_val_t* res);
27
28
#if defined(__cplusplus)
29
}
30
#endif
/* __cplusplus */
31
32
#endif
/* MJS_JSON_H_ */
mjs
Definition
mjs_core.h:63
lib
mjs
mjs_json.h
Generated by
1.12.0