mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
1ca8e9b3ae
In cases where the file name was not specified, the warning messages were not very useful. Example: ```json File <unknown> is not a valid JSON file! At line 33, position 1 warning: Comma expected! { "name" : "New Old Heroes", "description" : "New heroes based on old 3DO artwork and other game appearances. Requires Horn of the Abyss.", "modType" : "Heroes", "version" : "1.2.0", "author" : "Aphra", "contact" : "", "heroes" : [ "config/gwenneth.json", "config/balindar.json", "config/nicolas.json", "config/kastore.json", "config/kydoimos.json", "config/athe.json", "config/miseria.json", "config/areshrak.json", "config/pactal.json", "config/zog.json" ], "changelog" : { "1.0.0" : ["Initial release"], "1.1.0" : ["Added Nicolas Gryphonheart and Kastore"], "1.1.1" : ["Bug fixes"], "1.2.0" : ["Added some HotA portrait-only campaign heroes"] }, "depends" : [ "hota.neutralCreatures" ] "keepDisabled" : true } ``` |
||
---|---|---|
.. | ||
JsonBonus.cpp | ||
JsonBonus.h | ||
JsonFormatException.h | ||
JsonNode.cpp | ||
JsonNode.h | ||
JsonParser.cpp | ||
JsonParser.h | ||
JsonRandom.cpp | ||
JsonRandom.h | ||
JsonUtils.cpp | ||
JsonUtils.h | ||
JsonValidator.cpp | ||
JsonValidator.h | ||
JsonWriter.cpp | ||
JsonWriter.h |