Skip to content

An efficient serialization format and library which support json

Notifications You must be signed in to change notification settings

xia-chu/tinybuf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

一个高效的序列化反序列化库

  • 支持json序列化反序列化
  • 支持tinybuf(私有协议)序列化反序列化
  • 纯C代码,适合嵌入式系统
  • 序列化反序列化性能高效
  • tinybuf序列化格式占用字节更少,更利于传输

性能对比(release模式)

  • json格式时,序列化性能大约为jsoncpp的3倍
  • json格式时,反序列化性能大约为jsoncpp的1.5倍
  • tinybuf格式时,序列化性能大约为jsoncpp的10~20倍
  • tinybuf格式时,反序列化性能大约为jsoncpp的4倍

测试结果截图

image

About

An efficient serialization format and library which support json

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published