📝 add mkdocs

This commit is contained in:
Niels Lohmann 2020-05-24 13:03:04 +02:00
parent c92a696852
commit a8f0cd15df
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
36 changed files with 2656 additions and 261 deletions

View file

@ -0,0 +1,15 @@
# JSON Pointer
The library supports **JSON Pointer** ([RFC 6901](https://tools.ietf.org/html/rfc6901)) as alternative means to address structured values.
```cpp
// a JSON value
json j_original = R"({
"baz": ["one", "two", "three"],
"foo": "bar"
})"_json;
// access members with a JSON pointer (RFC 6901)
j_original["/baz/1"_json_pointer];
// "two"
```