Closed yanxi00 closed 1 year ago
version:2.13.1
code: json_auto_t json = json_pack_ex(&json_err, 0, "{s:s}", "test", "test"); if (NULL == json) { printf("json_pack error, source:%s, error:%s %d %d %d.\n", json_err.source, json_err.text, json_err.line, json_err.column, json_err.position); return; }
print: json_pack error, source:, error:Expected format 's', got '*' 1 5 5.
version:2.13.1
code: json_auto_t json = json_pack_ex(&json_err, 0, "{s:s}", "test", "test"); if (NULL == json) { printf("json_pack error, source:%s, error:%s %d %d %d.\n", json_err.source, json_err.text, json_err.line, json_err.column, json_err.position); return; }
print: json_pack error, source:, error:Expected format 's', got '*' 1 5 5.