Skip to content

Add JSON configuration from file

Patrick Dupuis requested to merge feat/json into develop

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 of SatieConfiguration.
  • ToJson class is now called SatieJson.
  • 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
  1. YAML should also work, but has not been tested.

Edited by Patrick Dupuis

Merge request reports