Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新功能建议,增加结构体数组支持。 #1

Open
GetFreedomPro opened this issue Sep 6, 2019 · 1 comment
Open

新功能建议,增加结构体数组支持。 #1

GetFreedomPro opened this issue Sep 6, 2019 · 1 comment

Comments

@GetFreedomPro
Copy link

struct test
{
char id;
short num;
int max;
double value;
char *name;
struct subtest sub[10];<--------------------!!!
CsonList *list;
char *str[2];
CsonList *charList;
CsonList *strList;
};
如果支持了,可能我要没研究透。

@NevermindZZT
Copy link
Owner

现在不支持结构体数组的,主要考虑到从json解析过来,数量不确定,容易造成数组越界

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants