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
Bug Report suppose you have the following class:
class Point{ public: Point(); private: int x; int y; }
then if you create a point:
Point p { 100, 100 };
and do
json j = p;
then you get the error:
static assertion failed: could not find to_json() method in T's namespace static_assert(sizeof(BasicJsonType) == 0, ^
that is pretty st.forward, what is the reason of the failure? Feature Request
Describe the feature in as much detail as possible.
Include sample usage where appropriate.
The text was updated successfully, but these errors were encountered:
Please have a look at the documentation: https://github.com/nlohmann/json/blob/develop/README.md#arbitrary-types-conversions
Sorry, something went wrong.
@jipr311 Does the arbitrary types conversion section help you?
Can I close this issue?
No branches or pull requests
Bug Report
suppose you have the following class:
then if you create a point:
and do
then you get the error:
that is pretty st.forward, what is the reason of the failure?
Feature Request
Describe the feature in as much detail as possible.
Include sample usage where appropriate.
The text was updated successfully, but these errors were encountered: