You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can we have a function , which allows us to add a json array of elements to the another instance of json array at the end.
I guess this feature is not available. please ignore if this is already exits and kindly let me know the function or method name. I have gone through the documentation and not found anything.
ex: json first = json::parse("[{\"name\":\"John\",\"gender\":"male"},{\"name\":\"Ben\",\"gender\":"female"}]");
json second = json::parse("[{\"name\":\"Poole\",\"gender\":"male"},{\"name\":\"Neil\",\"gender\":"female"}]");
// Appending second array of elements to the first json array object
first.append(second);
The text was updated successfully, but these errors were encountered:
can we have a function , which allows us to add a json array of elements to the another instance of json array at the end.
I guess this feature is not available. please ignore if this is already exits and kindly let me know the function or method name. I have gone through the documentation and not found anything.
The text was updated successfully, but these errors were encountered: