support json type

This commit is contained in:
xj0
2022-02-08 14:58:13 +08:00
committed by LINxiansheng
parent 4b25bac8d0
commit e5f59ea074
241 changed files with 46116 additions and 749 deletions

View File

@ -232,6 +232,8 @@ int databuff_printf(char* buf, const int64_t buf_len, int64_t& pos, const char*
__attribute__((format(printf, 4, 5)));
/// @return OB_SUCCESS or OB_BUF_NOT_ENOUGH
int databuff_vprintf(char* buf, const int64_t buf_len, int64_t& pos, const char* fmt, va_list args);
/// @return OB_SUCCESS or OB_BUF_NOT_ENOUGH
int databuff_memcpy(char *buf, const int64_t buf_len, int64_t &pos, const int64_t src_len, const char *src);
/// print object
template <class T>