diff options
| author | 2021-02-05 20:47:31 +0100 | |
|---|---|---|
| committer | 2021-02-05 20:47:31 +0100 | |
| commit | 970b49aec1cfee6cdffe56b3d675224fecde382f (patch) | |
| tree | c8696ff16ced51af12c4b6f5c33b602289c2db26 | |
| parent | Merge branch 'master' into json-tag (diff) | |
Simplified language
| -rw-r--r-- | bot/resources/tags/empty-json.md | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/bot/resources/tags/empty-json.md b/bot/resources/tags/empty-json.md index 98bfe5fa7..3851dc142 100644 --- a/bot/resources/tags/empty-json.md +++ b/bot/resources/tags/empty-json.md @@ -4,11 +4,8 @@ JSONDecodeError: Expecting value: line 1 column 1 (char 0) ``` This error could have appeared because you just created the JSON file and there is nothing in it at the moment. -Whilst having the data empty is no problem, the file itself may never be completely empty. You most likely want one of the following in your json -``` -object -array -``` -An object is the most common of the 2, and is created by editing your file to read `{}`. +Whilst having the data empty is no problem, the file itself may never be completely empty. + +You most likely wanted to structure your JSON as a dictionary. For this change your JSON file to read `{}`. Different data types are also supported. If you wish to read more on these, please reffer to the following article: https://www.tutorialspoint.com/json/json_data_types.htm |