We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I don't see any capability offhand for this to read a .json file. Is this a feature? If so, what is the syntax? If not, can this be made a feature?
The text was updated successfully, but these errors were encountered:
You can use the parse function (https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a0923f9749409345a21f8cb15ee95fc0d.html#a0923f9749409345a21f8cb15ee95fc0d) or the operator<< (https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a60ca396028b8d9714c6e10efbf475af6.html#a60ca396028b8d9714c6e10efbf475af6)
parse
operator<<
You can pass any input stream to it, including an ifstream.
ifstream
Sorry, something went wrong.
I updated the README and added a section on deserialization from file.
No branches or pull requests
I don't see any capability offhand for this to read a .json file. Is this a feature? If so, what is the syntax? If not, can this be made a feature?
The text was updated successfully, but these errors were encountered: