Replies: 1 comment
-
Instructions here: https://github.com/nlohmann/json#arbitrary-types-conversions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i have a problem with parsing data from the json file.
I have a struct called date which has three intigers. I wrote a simple function to turn a date to a json list but i can't do the conversion the other way.
I'd be happy to provide more detail.
Here's my code:
test.json:
{"date":[13,10,2023]}
main.cpp:
Beta Was this translation helpful? Give feedback.
All reactions