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

Example for adding json objects to a json array? #78

Open
fmgomes opened this issue Jan 13, 2016 · 1 comment
Open

Example for adding json objects to a json array? #78

fmgomes opened this issue Jan 13, 2016 · 1 comment

Comments

@fmgomes
Copy link

fmgomes commented Jan 13, 2016

Hi, is there any example on how to add json objects to a json array? From the API this seems possible, but I'm not getting how to do it correctly. Thanks!

@rvdende
Copy link

rvdende commented Jul 19, 2017

aJsonObject* root = aJson.createArray();

aJsonObject* day;
day=aJson.createItem("Monday");
aJson.addItemToArray(root, day);

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