-
In Qt, when you want to convert a QJSonObject to integer, you can do In nlohmann::json, to achieve the same, you need manually check if the value is an integer
This is of course more code. Is there any way to specify the default value for |
Beta Was this translation helpful? Give feedback.
Answered by
nlohmann
Jul 15, 2021
Replies: 1 comment
-
No, there is no function for this. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nlohmann
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, there is no function for this.