mirror of
https://github.com/nlohmann/json.git
synced 2026-10-29 12:05:22 +00:00
deploy: 94fe31eb9b
This commit is contained in:
@@ -56,7 +56,7 @@ a new JSON pointer is built from a copy of `lhs`.
|
||||
#include <iostream>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
using json = nlohmann::json;
|
||||
using nlohmann::json;
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -70,7 +70,7 @@ a new JSON pointer is built from a copy of `lhs`.
|
||||
std::cout << "\"" << ptr / "fob" << "\"\n";
|
||||
|
||||
// append an array index
|
||||
std::cout << "\"" << ptr / 42 << "\"" << std::endl;
|
||||
std::cout << "\"" << ptr / 42 << "\"" << '\n';
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user