more on #290
This commit is contained in:
parent
eef8059003
commit
b4571360df
16 changed files with 298 additions and 101 deletions
|
|
@ -5,7 +5,7 @@ using json = nlohmann::json;
|
|||
int main()
|
||||
{
|
||||
// a JSON text
|
||||
std::string text = R"(
|
||||
auto text = R"(
|
||||
{
|
||||
"Image": {
|
||||
"Width": 800,
|
||||
|
|
@ -44,4 +44,4 @@ int main()
|
|||
// parse (with callback) and serialize JSON
|
||||
json j_filtered = json::parse(text, cb);
|
||||
std::cout << std::setw(4) << j_filtered << '\n';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue