▲ | ithkuil 3 hours ago | |||||||||||||
JSON with comments would go a long way | ||||||||||||||
▲ | petersumskas 3 hours ago | parent | next [-] | |||||||||||||
Douglas Crockford addressed this many years ago: write your human readable config with comments and run it through a pre-processor to strip them out before handing the config to a JSON parser. Seems like almost no one picked up on the idea. | ||||||||||||||
| ||||||||||||||
▲ | krapp 3 hours ago | parent | prev [-] | |||||||||||||
Use Lua tables. Lua's parser is smaller than many JSON parsers, the syntax is almost the same and you can use comments. |