armink / struct2json

A fast convert library between the JSON and C structure. Implement structure serialization and deserialization for C. | C 结构体与 JSON 快速互转库,快速实现 C 结构体的序列化及反序列化
MIT License
680 stars 293 forks source link

fix bugs: json array is larger than struct, check size to avoid overw… #20

Closed yuxuebao closed 3 years ago

yuxuebao commented 3 years ago

fix bugs: json array maybe larger than struct, check size to avoid overwrite; fix bugs: cJSON compare int & number;