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

Add xxx_ex API to solove some problems #10

Closed jokidream closed 4 years ago

jokidream commented 4 years ago
  1. solve the segment error caused by the s2j_struct_get_basic_element's from_json being null.

  2. add the default value option of the parameter.