Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
468 B
25 lines
468 B
5 years ago
|
|
||
|
#ifndef UPB_JSONDECODE_H_
|
||
|
#define UPB_JSONDECODE_H_
|
||
|
|
||
|
#include "upb/def.h"
|
||
|
#include "upb/msg.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
enum {
|
||
|
UPB_JSONDEC_IGNOREUNKNOWN = 1
|
||
|
};
|
||
|
|
||
|
bool upb_json_decode(const char *buf, size_t size, upb_msg *msg,
|
||
|
const upb_msgdef *m, const upb_symtab *any_pool,
|
||
|
int options, upb_arena *arena, upb_status *status);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
} /* extern "C" */
|
||
|
#endif
|
||
|
|
||
|
#endif /* UPB_JSONDECODE_H_ */
|