-
-
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
json.update and vector<pair>does not work with ordered_json #2315
Comments
This comment has been minimized.
This comment has been minimized.
Hi Niels, I am using gcc 8.3, Linux. |
And which library version? d34771c? |
@nlohmann Maybe it's a problem in your example? So I am using the released version: https://github.com/nlohmann/json/releases/download/v3.9.0/json.hpp |
Sorry, typo. Now I can reproduce the error. There seems to be a missing operator in |
/cc @gatopeich |
Thank you Niels. 👍 |
I opened PR #2319 - I would appreciate any feedback on this! |
From my first tests I get other errors, I am using
|
In the same code? |
it's my production code, yes. I guess we are not allowed to use |
No, you should be able to use |
I think a good test for this new feature (ordered_json) will be to re-run all the tests with |
Yes, indeed. We have not covered the full interface of |
Thank you, for me is not urgent, I will keep using |
Can you please check again with f13af83 ? |
Yes, it works with the latest update, great! Btw, is there a task "Run all the tests with Thanks a lot again, Niels! |
I don't have an issue for executing all tests for Right now, #2319 implements all calls to
FYI: If you want to support me and my work on this project, you can become a sponsor on GitHub, or used Paypal. |
Hi,
I am trying to convert my code from
json
toordered_json
, but I get some problems.I get the same problem with the following code (which works with
json
)Both generate the same error:
Should I do something special if I convert from
json
toordered_json
?Thank you 👍
The text was updated successfully, but these errors were encountered: