JSON file format for SpringCoreConfig

SpringCoreConfig.exe supports too file format: the legacy CFG and the new JSON file format, described in this paragraph. The JSON file format is supported by SpringCard Companion and MasterCard Tools as well..

The JSON object shall starts with a "type" string entry with value equal to either "multiconf-v2" or "multiconf-v2/secured".

Value "multiconf-v2/secured" denotes a protected file. A passphrase is required to decipher its actual content, stored in the "content" object entry.

The actual content of the file is structured in the form of one entry per section.

Basic file format

{
    "type": "multiconf-v2",
    "commands": [
        "<Commmand>",
        "<Commmand>"
    ],
    "constants": {
        "<Address>": "<Value>",
        "<Address>": "<Value>"
    },
    "config": {
        "<Address>": "<Value>",
        "<Address>": "<Value>"
    },
    "templates": {
        "<Address>": "<Value>",
        "<Address>": "<Value>"
    },
    "samav": {
        "<Address>": "<Value>",
        "<Address>": "<Value>"
    },
    "samav-rsa": {
        "<Address>": "<Value>",
        "<Address>": "<Value>"
    },    
    "atecc": {
        "<Address>": "<Value>",
        "<Address>": "<Value>"
	}   
}