JSON extensions
Improve the usability of the JSON system for the configuration and scenarios.
Ideas:
- Support hex & binary
- Allow comments
- Units
- Duration: alternative representations (support various min/sec/... units)
- Reference to other files: A special tag could be used to refer to a file relative to the current one. It would then be substituted. This mechanism could also be used as "template". The referred file would be loaded first, but the 'calling' file could still specify fields that would override the loaded file.
Note: The extensions should be correct JSON. So for example the Duration "units" extension would be specified in a JSON String. The parsing code must check the different cases and parse appropriately.