1 2 #ifndef UPB_JSONDECODE_H_ 3 #define UPB_JSONDECODE_H_ 4 5 #include "upb/def.h" 6 7 #ifdef __cplusplus 8 extern "C" { 9 #endif 10 11 enum { 12 UPB_JSONDEC_IGNOREUNKNOWN = 1 13 }; 14 15 bool upb_json_decode(const char *buf, size_t size, upb_msg *msg, 16 const upb_msgdef *m, const upb_symtab *any_pool, 17 int options, upb_arena *arena, upb_status *status); 18 19 #ifdef __cplusplus 20 } /* extern "C" */ 21 #endif 22 23 #endif /* UPB_JSONDECODE_H_ */ 24