Add JSON configuration from file
This MR implements a new way to configure SATIE using JSON files 1. This work is a first step towards allowing SATIE to be configured via OSC message.
Note: the commit history is a bit messy. I'll squash this into a few commits before merging.
Notable additions/changes:
-
SatieConfiguration.fromJsonFile
was added as a class method. It takes a path to a JSON file as a String and returns an instance ofSatieConfiguration
. -
ToJson
class is now calledSatieJson
. -
SatieJson
contains several new class methods that parse and convert JSON files into nested IdentityDictionaries containing appropriately typed key-value pairs. - New UnitTests where added to test this implementation
- A short explanation of the JSON configuration format is given inside
SatieConfiguration.schelp
-
YAML should also work, but has not been tested.
↩