aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastian Kuipers <[email protected]>2021-02-01 18:45:15 +0100
committerGravatar Sebastian Kuipers <[email protected]>2021-02-01 18:45:15 +0100
commit7b4833ed11f96d1e8bc26ec3997ee42956dca230 (patch)
tree74e357ede3e54b088684bcca560cf851a5f0354a
parentadded some more clarification (diff)
suggestion for:
more friendly/less personal suggestion.
-rw-r--r--bot/resources/tags/empty_json.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/resources/tags/empty_json.md b/bot/resources/tags/empty_json.md
index eaeafeb18..9e5c5fd4f 100644
--- a/bot/resources/tags/empty_json.md
+++ b/bot/resources/tags/empty_json.md
@@ -3,14 +3,14 @@ When creating a new JSON file you might run into the following error.
`JSONDecodeError: Expecting value: line 1 column 1 (char 0)`
In short, this means that your JSON is invalid in its current state. This could very well happen because the file is just new and completely empty.
-Whilst the JSON data, the data you wish to store, may be empty, the .json file must not. It is recommended to have at least one of the following data types in your .json file:
+Whilst the JSON data, the data you wish to store, may be empty, the .json file must not. You most likely want to use one of the following data types in your .json file:
```
object
array
```
-To resolve this issue, you create one of the above data types in your .json file. It is very common to use `{}` to make an object, which works similar to a dictionary in python.
+To resolve this issue, create one of the above data types in your .json file. It is very common to use `{}` to make an object, which works similar to a dictionary in python.
When this is added to your .json file, it will look like this:
```json