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

Can't ad an object in another objet #2101

Closed
AlekGuedegbe opened this issue May 12, 2020 · 0 comments
Closed

Can't ad an object in another objet #2101

AlekGuedegbe opened this issue May 12, 2020 · 0 comments

Comments

@AlekGuedegbe
Copy link

Hi everybody,
I'am trying for a projet to add an object to another object like that :

json null;
null["enseignants"] = {};

      json j=
                 {
                     {"nom","popo"},{"prenom","zara"},{"id",12},{"vol_horraire",125.4}
                 };
                 

     null.insert(j.begin(), j.end());

            i wan't ad the object j into the object null without delete the content of the object null but it don't work ,

I'm on windows and i am using the last version of your library

Thanks.

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

No branches or pull requests

1 participant