1
0
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:
Ronak Buch 2020-08-13 15:44:58 -04:00
parent 298420263b
commit 67d822d951
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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