1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00
Commit Graph

69 Commits

Author SHA1 Message Date
d2844a5eeb Cleared up code 2024-02-26 12:55:49 +02:00
08deae4186 Moved static methods outside of vcmi namespace 2024-02-26 12:55:49 +02:00
757f77378d Remove unused code 2024-02-26 12:55:49 +02:00
29860848a5 Cleanup 2024-02-26 12:55:49 +02:00
18bbccd167 Unify formatting 2024-02-26 12:55:49 +02:00
2632ab04f5 Partial support for json5 2024-02-26 12:55:49 +02:00
41493d6f67 Implemented 'strict' json support 2024-02-26 12:55:49 +02:00
d1c274f93f Replaced vector of strings with simple bool for flag 2024-02-26 12:55:49 +02:00
922966dcf8 Renamed JsonNode::meta to more logical modScope. Member is now private 2024-02-26 12:55:49 +02:00
e73516b7d1 Simplified template magic in JsonNode 2024-02-26 12:55:49 +02:00
08a27663f9 Reworked JsonNode constructors to more logical form 2024-02-26 12:55:49 +02:00
54796c7c56 Rename toJson to toString/toCompactString for consistency 2024-02-26 12:55:49 +02:00
a2b8eaf7fb Do not escape '/' when writing json 2024-02-26 12:55:49 +02:00
25146bfa93 Replace custom class with string_view 2024-02-26 12:55:49 +02:00
ca9a16e30e Partially updated schema validation to draft v6 2024-02-26 12:55:49 +02:00
2ea78a5883 Fix float comparisons
Replace this "==" with a more tolerant comparison operation.
Floating point numbers should not be tested for equality cpp:S1244
2024-02-14 23:30:29 +01:00
3740f8b02f Moved bonus parsing to a new file 2024-02-14 15:48:06 +02:00
0b7bf56597 Remove old files 2024-02-14 14:02:41 +02:00
c3957c2c2a Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00