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
We need to add more examples for Document API into example directory
The example should be like follows:
#include <iostream> #include <string> #include "sonic/sonic.h" int main() { using NodeType = sonic_json::Node; using Allocator = typename NodeType::AllocatorType; sonic_json::Node node; Allocator alloc; node.SetObject(); node.AddMember("Key", NodeType("Value", alloc), alloc); std::cout << "Add member successfully!\n"; return 0; } // g++ -I../include/ -march=haswell --std=c++11 get_and_set.cpp -o get_and_set
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We need to add more examples for Document API into example directory
The example should be like follows:
The text was updated successfully, but these errors were encountered: