-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Creating an empty array #27
Comments
I assume this is fixed by fixing #8 |
@Teemperor is right - this shall be fixed with issue #8. I hope to do this by tomorrow. So far, you could try json customers(json::value_type::array); to tell the class to create an empty JSON array. |
There now is a function |
Sync Fork from Upstream Repo
I'm using the following code right now:
However, if the for loop doesnt happen, I would like to return an empty array (eg
[]
)Is they an other way to get this behaviour without doing
json customers= json::parse("[]");
?The text was updated successfully, but these errors were encountered: