mirror of
https://github.com/nlohmann/json
synced 2024-11-23 04:20:06 +00:00
Fix typos in documentation
This commit is contained in:
parent
298420263b
commit
67d822d951
@ -45,7 +45,7 @@ The return value is a reference, so it can be modify the original value.
|
||||
}
|
||||
```
|
||||
|
||||
When accessing an invalid index (i.e., and index greater than or equal to the array size) or the passed object key is non-existing, an exception is thrown.
|
||||
When accessing an invalid index (i.e., an index greater than or equal to the array size) or the passed object key is non-existing, an exception is thrown.
|
||||
|
||||
??? example
|
||||
|
||||
|
@ -47,7 +47,7 @@ The return value is a reference, so it can be modify the original value. In case
|
||||
}
|
||||
```
|
||||
|
||||
When accessing an invalid index (i.e., and index greater than or equal to the array size), the JSON array is resized such that the passed index is the new maximal index. Intermediate values are filled with `#!json null`.
|
||||
When accessing an invalid index (i.e., an index greater than or equal to the array size), the JSON array is resized such that the passed index is the new maximal index. Intermediate values are filled with `#!json null`.
|
||||
|
||||
??? example
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user