commit 873c23b9d54eeb98e231c9042fd6e7e51b4318df
parent bd2179201f44a201712fbdd1717a4d8e6a7b09bb
Author: Frederic Cambus <fred@statdns.com>
Date: Fri, 28 Aug 2020 10:03:58 +0200
Fix a couple of typos in the JSON API documentation.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/api/json.md b/api/json.md
@@ -148,7 +148,7 @@ TAILQ_FOREACH(item, &items->data.items, list) {
struct kore_json_item *kore_json_find_string(struct kore_json_item *item, const char *name);
```
### Description
-Find an string named **name** in the JSON root **item**.
+Find a string named **name** in the JSON root **item**.
| Parameter | Description |
| -- | -- |
@@ -176,7 +176,7 @@ if (name != NULL)
struct kore_json_item *kore_json_find_number(struct kore_json_item *item, const char *name);
```
### Description
-Find an number named **name** in the JSON root **item**.
+Find a number named **name** in the JSON root **item**.
| Parameter | Description |
| -- | -- |
@@ -204,7 +204,7 @@ if (price != NULL)
struct kore_json_item *kore_json_find_literal(struct kore_json_item *item, const char *name);
```
### Description
-Find an literal named **name** in the JSON root **item**.
+Find a literal named **name** in the JSON root **item**.
| Parameter | Description |
| -- | -- |