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
Hi ,
I have to write a config file from a node editor with something like this
struct Node { int id; string name; }
struct Pin { int id; Node* node; }
struct Link { int id; Pin* start; Pin* end; }
struct Config { std::vector Nodes; std::vector Pins; std::vector Links; }
How can i serialize the topover object Config ? and deserialize ? Thanks!
The text was updated successfully, but these errors were encountered:
You just have to provide from_json and to_json functions for each type as mentioned in README.
from_json
to_json
Also relevant: #1648
Sorry, something went wrong.
No branches or pull requests
Hi ,
I have to write a config file from a node editor with something like this
struct Node
{
int id;
string name;
}
struct Pin
{
int id;
Node* node;
}
struct Link
{
int id;
Pin* start;
Pin* end;
}
struct Config
{
std::vector Nodes;
std::vector Pins;
std::vector Links;
}
How can i serialize the topover object Config ? and deserialize ?
Thanks!
The text was updated successfully, but these errors were encountered: