mrcount
Goto Top

Powershell: jedes Key-Value Paar auslesen (verschachtelt)

Servus zusammen,

ich habe hier ein paar Dateien (Dateiendung .rig), die offenbar im JSON-Format sind, aber ich komme nicht an ALLE Keys/Vars ran, da sie sehr verschachtelt sind.

Hier der Inhalt einer Beispieldatei:
{"author":"UserName","color":9,"content":"{\"FootSwitch\":{\"data\":{\"FootSwitch\":{\"childorder\":[\"Module1\",\"Operation1\",\"Scene1\",\"MacroColour1\",\"Scene1Slot1Preset\",\"Scene1Slot2Preset\",\"Scene1Slot3Preset\",\"Scene1Slot4Preset\",\"Scene1Slot5Preset\",\"Scene1Slot6Preset\",\"Scene1Slot7Preset\",\"Scene1Slot8Preset\",\"Scene1Slot9Preset\",\"Scene1Slot10Preset\",\"Scene1Slot11Preset\",\"UserFootSwitchText1\",\"ModeNew1\",\"Module2\",\"Operation2\",\"Scene2\",\"MacroColour2\",\"Scene2Slot1Preset\",\"Scene2Slot2Preset\",\"Scene2Slot3Preset\",\"Scene2Slot4Preset\",\"Scene2Slot5Preset\",\"Scene2Slot6Preset\",\"Scene2Slot7Preset\",\"Scene2Slot8Preset\",\"Scene2Slot9Preset\",\"Scene2Slot10Preset\",\"Scene2Slot11Preset\",\"UserFootSwitchText2\",\"ModeNew2\",\"Module3\",\"Operation3\",\"Scene3\",\"MacroColour3\",\"Scene3Slot1Preset\",\"Scene3Slot2Preset\",\"Scene3Slot3Preset\",\"Scene3Slot4Preset\",\"Scene3Slot5Preset\",\"Scene3Slot6Preset\",\"Scene3Slot7Preset\",\"Scene3Slot8Preset\",\"Scene3Slot9Preset\",\"Scene3Slot10Preset\",\"Scene3Slot11Preset\",\"UserFootSwitchText3\",\"ModeNew3\",\"Module4\",\"Operation4\",\"Scene4\",\"MacroColour4\",\"Scene4Slot1Preset\",\"Scene4Slot2Preset\",\"Scene4Slot3Preset\",\"Scene4Slot4Preset\",\"Scene4Slot5Preset\",\"Scene4Slot6Preset\",\"Scene4Slot7Preset\",\"Scene4Slot8Preset\",\"Scene4Slot9Preset\",\"Scene4Slot10Preset\",\"Scene4Slot11Preset\",\"UserFootSwitchText4\",\"ModeNew4\",\"Module5\",\"Operation5\",\"Scene5\",\"MacroColour5\",\"Scene5Slot1Preset\",\"Scene5Slot2Preset\",\"Scene5Slot3Preset\",\"Scene5Slot4Preset\",\"Scene5Slot5Preset\",\"Scene5Slot6Preset\",\"Scene5Slot7Preset\",\"Scene5Slot8Preset\",\"Scene5Slot9Preset\",\"Scene5Slot10Preset\",\"Scene5Slot11Preset\",\"UserFootSwitchText5\",\"ModeNew5\",\"Module6\",\"Operation6\",\"Scene6\",\"MacroColour6\",\"Scene6Slot1Preset\",\"Scene6Slot2Preset\",\"Scene6Slot3Preset\",\"Scene6Slot4Preset\",\"Scene6Slot5Preset\",\"Scene6Slot6Preset\",\"Scene6Slot7Preset\",\"Scene6Slot8Preset\",\"Scene6Slot9Preset\",\"Scene6Slot10Preset\",\"Scene6Slot11Preset\",\"UserFootSwitchText6\",\"ModeNew6\",\"Module7\",\"Operation7\",\"Scene7\",\"MacroColour7\",\"Scene7Slot1Preset\",\"Scene7Slot2Preset\",\"Scene7Slot3Preset\",\"Scene7Slot4Preset\",\"Scene7Slot5Preset\",\"Scene7Slot6Preset\",\"Scene7Slot7Preset\",\"Scene7Slot8Preset\",\"Scene7Slot9Preset\",\"Scene7Slot10Preset\",\"Scene7Slot11Preset\",\"UserFootSwitchText7\",\"ModeNew7\",\"Module8\",\"Operation8\",\"Scene8\",\"MacroColour8\",\"Scene8Slot1Preset\",\"Scene8Slot2Preset\",\"Scene8Slot3Preset\",\"Scene8Slot4Preset\",\"Scene8Slot5Preset\",\"Scene8Slot6Preset\",\"Scene8Slot7Preset\",\"Scene8Slot8Preset\",\"Scene8Slot9Preset\",\"Scene8Slot10Preset\",\"Scene8Slot11Preset\",\"UserFootSwitchText8\",\"ModeNew8\",\"LastScene\"],\"children\":{\"LastScene\":{\"type\":10,\"value\":6},\"MacroColour1\":{\"string\":\"Green\",\"type\":4},\"MacroColour2\":{\"string\":\"Green\",\"type\":4},\"MacroColour3\":{\"string\":\"Green\",\"type\":4},\"MacroColour4\":{\"string\":\"Green\",\"type\":4},\"MacroColour5\":{\"string\":\"Green\",\"type\":4},\"MacroColour6\":{\"string\":\"Green\",\"type\":4},\"MacroColour7\":{\"string\":\"Green\",\"type\":4},\"MacroColour8\":{\"string\":\"Green\",\"type\":4},\"ModeNew1\":{\"string\":\"Toggle\",\"type\":4},\"ModeNew2\":{\"string\":\"Toggle\",\"type\":4},\"ModeNew3\":{\"string\":\"Toggle\",\"type\":4},\"ModeNew4\":{\"string\":\"Toggle\",\"type\":4},\"ModeNew5\":{\"string\":\"Scene\",\"type\":4},\"ModeNew6\":{\"string\":\"Scene\",\"type\":4},\"ModeNew7\":{\"string\":\"Scene\",\"type\":4},\"ModeNew8\":{\"string\":\"Toggle\",\"type\":4},\"Module1\":{\"string\":\"Spring Reverb\",\"type\":8},\"Module2\":{\"string\":\"Flanger\",\"type\":8},\"Module3\":{\"string\":\"Chorus\",\"type\":8},\"Module4\":{\"string\":\"BBD Delay\",\"type\":8},\"Module5\":{\"string\":\"Amp\",\"type\":8},\"Module6\":{\"string\":\"IR\",\"type\":8},\"Module7\":{\"string\":\"Gray Comp\",\"type\":8},\"Module8\":{\"string\":\"Black OP\",\"type\":8},\"Operation1\":{\"string\":\"On\",\"type\":8},\"Operation2\":{\"string\":\"On\",\"type\":8},\"Operation3\":{\"string\":\"On\",\"type\":8},\"Operation4\":{\"string\":\"On\",\"type\":8},\"Operation5\":{\"string\":\"On\",\"type\":8},\"Operation6\":{\"string\":\"On\",\"type\":8},\"Operation7\":{\"string\":\"On\",\"type\":8},\"Operation8\":{\"string\":\"On\",\"type\":8},\"Scene1\":{\"state\":\"AAAAAEdyYXkgQ29tcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJsYWNrIE9QAHQARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENob3J1cwBQAHQAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEZsYW5nZXIAb3QARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJCRCBEZWxheQAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcCAyAFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAElSAHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBhcmEgRVEAb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEdyYXBoaWMgRVEAAGIAAAAAAAAAAAAAAAAAAAAAAAAA\",\"type\":24},\"Scene1Slot10Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene1Slot11Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene1Slot1Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene1Slot2Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene1Slot3Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene1Slot4Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene1Slot5Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene1Slot6Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene1Slot7Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene1Slot8Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene1Slot9Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene2\":{\"state\":\"AAAAAEdyYXkgQ29tcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJsYWNrIE9QAHQARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENob3J1cwBQAHQAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEZsYW5nZXIAb3QARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJCRCBEZWxheQAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcCAyAFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAElSAHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBhcmEgRVEAb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEdyYXBoaWMgRVEAAGIAAAAAAAAAAAAAAAAAAAAAAAAA\",\"type\":24},\"Scene2Slot10Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene2Slot11Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene2Slot1Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene2Slot2Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene2Slot3Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene2Slot4Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene2Slot5Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene2Slot6Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene2Slot7Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene2Slot8Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene2Slot9Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene3\":{\"state\":\"AAAAAEdyYXkgQ29tcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJsYWNrIE9QAHQARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENob3J1cwBQAHQAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEZsYW5nZXIAb3QARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJCRCBEZWxheQAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcCAyAFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAElSAHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBhcmEgRVEAb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEdyYXBoaWMgRVEAAGIAAAAAAAAAAAAAAAAAAAAAAAAA\",\"type\":24},\"Scene3Slot10Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene3Slot11Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene3Slot1Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene3Slot2Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene3Slot3Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene3Slot4Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene3Slot5Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene3Slot6Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene3Slot7Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene3Slot8Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene3Slot9Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene4\":{\"state\":\"AAAAAEdyYXkgQ29tcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJsYWNrIE9QAHQARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENob3J1cwBQAHQAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEZsYW5nZXIAb3QARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJCRCBEZWxheQAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcCAyAFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAElSAHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBhcmEgRVEAb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEdyYXBoaWMgRVEAAGIAAAAAAAAAAAAAAAAAAAAAAAAA\",\"type\":24},\"Scene4Slot10Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene4Slot11Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene4Slot1Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene4Slot2Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene4Slot3Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene4Slot4Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene4Slot5Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene4Slot6Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene4Slot7Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene4Slot8Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene4Slot9Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene5\":{\"state\":\"AgAAAEdyYXkgQ29tcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAEJsYWNrIE9QAHQARAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAENob3J1cwBQAHQAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAEZsYW5nZXIAb3QARAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAEJCRCBEZWxheQAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAEFtcCAyAFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAElSAHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBhcmEgRVEAb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEdyYXBoaWMgRVEAAGIAAAAAAAAAAAAAAAAAAAAAAAAA\",\"type\":24},\"Scene5Slot10Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene5Slot11Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene5Slot1Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene5Slot2Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene5Slot3Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene5Slot4Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene5Slot5Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene5Slot6Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene5Slot7Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene5Slot8Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene5Slot9Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene6\":{\"state\":\"AgAAAEdyYXkgQ29tcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAEJsYWNrIE9QAHQARAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAENob3J1cwBQAHQAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAEZsYW5nZXIAb3QARAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAEJCRCBEZWxheQAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAEFtcCAyAFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAElSAHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBhcmEgRVEAb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAEdyYXBoaWMgRVEAAGIAAAAAAAAAAAAAAAAAAAAAAAAA\",\"type\":24},\"Scene6Slot10Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene6Slot11Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene6Slot1Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene6Slot2Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene6Slot3Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene6Slot4Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene6Slot5Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene6Slot6Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene6Slot7Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene6Slot8Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene6Slot9Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene7\":{\"state\":\"AQAAAEdyYXkgQ29tcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAEJsYWNrIE9QAHQARAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAENob3J1cwBQAHQAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAEZsYW5nZXIAb3QARAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAEJCRCBEZWxheQAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAEFtcCAyAFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAElSAHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBhcmEgRVEAb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAEdyYXBoaWMgRVEAAGIAAAAAAAAAAAAAAAAAAAAAAAAA\",\"type\":24},\"Scene7Slot10Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene7Slot11Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene7Slot1Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene7Slot2Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene7Slot3Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene7Slot4Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene7Slot5Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene7Slot6Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene7Slot7Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene7Slot8Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene7Slot9Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene8\":{\"state\":\"AAAAAEdyYXkgQ29tcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJsYWNrIE9QAHQARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENob3J1cwBQAHQAcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEZsYW5nZXIAb3QARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEJCRCBEZWxheQAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcCAyAFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAElSAHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBhcmEgRVEAb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEdyYXBoaWMgRVEAAGIAAAAAAAAAAAAAAAAAAAAAAAAA\",\"type\":24},\"Scene8Slot10Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene8Slot11Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene8Slot1Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene8Slot2Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene8Slot3Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene8Slot4Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene8Slot5Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene8Slot6Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene8Slot7Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene8Slot8Preset\":{\"string\":\"No Preset\",\"type\":8},\"Scene8Slot9Preset\":{\"string\":\"No Preset\",\"type\":8},\"UserFootSwitchText1\":{\"string\":\"\",\"type\":8},\"UserFootSwitchText2\":{\"string\":\"\",\"type\":8},\"UserFootSwitchText3\":{\"string\":\"\",\"type\":8},\"UserFootSwitchText4\":{\"string\":\"\",\"type\":8},\"UserFootSwitchText5\":{\"string\":\"\",\"type\":8},\"UserFootSwitchText6\":{\"string\":\"\",\"type\":8},\"UserFootSwitchText7\":{\"string\":\"\",\"type\":8},\"UserFootSwitchText8\":{\"string\":\"\",\"type\":8}}}},\"info\":{\"version\":\"3.0.2\"}},\"Pedal1\":{\"data\":{\"Pedal1\":{\"childorder\":[\"Module1\",\"Param1\",\"Min1\",\"Max1\",\"Module2\",\"Param2\",\"Min2\",\"Max2\",\"Module3\",\"Param3\",\"Min3\",\"Max3\",\"Module4\",\"Param4\",\"Min4\",\"Max4\",\"PedalMode\"],\"children\":{\"Max1\":{\"type\":0,\"value\":100},\"Max2\":{\"type\":0,\"value\":100},\"Max3\":{\"type\":0,\"value\":100},\"Max4\":{\"type\":0,\"value\":100},\"Min1\":{\"type\":0,\"value\":0},\"Min2\":{\"type\":0,\"value\":0},\"Min3\":{\"type\":0,\"value\":0},\"Min4\":{\"type\":0,\"value\":0},\"Module1\":{\"string\":\"Unassigned\",\"type\":8},\"Module2\":{\"string\":\"Unassigned\",\"type\":8},\"Module3\":{\"string\":\"Unassigned\",\"type\":8},\"Module4\":{\"string\":\"Unassigned\",\"type\":8},\"Param1\":{\"string\":\"\",\"type\":8},\"Param2\":{\"string\":\"\",\"type\":8},\"Param3\":{\"string\":\"\",\"type\":8},\"Param4\":{\"string\":\"\",\"type\":8},\"PedalMode\":{\"string\":\"Classic\",\"type\":4}}}},\"info\":{\"version\":\"3.0.2\"}},\"Pedal2\":{\"data\":{\"Pedal2\":{\"childorder\":[\"Module1\",\"Param1\",\"Min1\",\"Max1\",\"Module2\",\"Param2\",\"Min2\",\"Max2\",\"Module3\",\"Param3\",\"Min3\",\"Max3\",\"Module4\",\"Param4\",\"Min4\",\"Max4\"],\"children\":{\"Max1\":{\"type\":0,\"value\":100},\"Max2\":{\"type\":0,\"value\":100},\"Max3\":{\"type\":0,\"value\":100},\"Max4\":{\"type\":0,\"value\":100},\"Min1\":{\"type\":0,\"value\":0},\"Min2\":{\"type\":0,\"value\":0},\"Min3\":{\"type\":0,\"value\":0},\"Min4\":{\"type\":0,\"value\":0},\"Module1\":{\"string\":\"Unassigned\",\"type\":8},\"Module2\":{\"string\":\"Unassigned\",\"type\":8},\"Module3\":{\"string\":\"Unassigned\",\"type\":8},\"Module4\":{\"string\":\"Unassigned\",\"type\":8},\"Param1\":{\"string\":\"\",\"type\":8},\"Param2\":{\"string\":\"\",\"type\":8},\"Param3\":{\"string\":\"\",\"type\":8},\"Param4\":{\"string\":\"\",\"type\":8}}}},\"info\":{\"version\":\"3.0.2\"}},\"RigEncoder\":{\"data\":{\"RigEncoder\":{\"childorder\":[\"Module1\",\"Param1\",\"Module2\",\"Param2\",\"Module3\",\"Param3\"],\"children\":{\"Module1\":{\"string\":\"Amp\",\"type\":8},\"Module2\":{\"string\":\"Amp\",\"type\":8},\"Module3\":{\"string\":\"Amp\",\"type\":8},\"Param1\":{\"string\":\"Gain\",\"type\":8},\"Param2\":{\"string\":\"Presence\",\"type\":8},\"Param3\":{\"string\":\"Master Volume\",\"type\":8}}}},\"info\":{\"version\":\"3.0.2\"}},\"data\":{\"Patch\":{\"childorder\":[\"Chain\",\"Rig\",\"Input\",\"Output\",\"Mix\",\"Gray Comp\",\"Black OP\",\"Chorus\",\"Flanger\",\"BBD Delay\",\"Amp 2\",\"Amp\",\"Spring Reverb\",\"IR\",\"Para EQ\",\"Graphic EQ\"],\"children\":{\"Amp\":{\"childorder\":[\"PresetName\",\"PresetName2\",\"TremSync\",\"Doubling\",\"DoubleStates\",\"On\",\"Colour\",\"Type\",\"Bright\",\"Treble\",\"Mid\",\"MidFreq\",\"Bass\",\"Presence\",\"GainA\",\"GainB\",\"TremSpeed\",\"TremDepth\",\"Master\",\"Tremolo\",\"Type2\",\"Bright2\",\"Treble2\",\"Mid2\",\"MidFreq2\",\"Bass2\",\"Presence2\",\"GainA2\",\"GainB2\",\"TremSpeed2\",\"TremDepth2\",\"Master2\"],\"children\":{\"Bass\":{\"type\":0,\"value\":37},\"Bass2\":{\"type\":0,\"value\":50},\"Bright\":{\"state\":false,\"type\":1},\"Bright2\":{\"state\":false,\"type\":1},\"Colour\":{\"string\":\"Yellow\",\"type\":4},\"DoubleStates\":{\"state\":false,\"type\":3},\"Doubling\":{\"state\":false,\"type\":1},\"GainA\":{\"type\":0,\"value\":98},\"GainA2\":{\"type\":0,\"value\":50},\"GainB\":{\"type\":0,\"value\":50},\"GainB2\":{\"type\":0,\"value\":50},\"Master\":{\"type\":0,\"value\":100},\"Master2\":{\"type\":0,\"value\":50},\"Mid\":{\"type\":0,\"value\":50},\"Mid2\":{\"type\":0,\"value\":50},\"MidFreq\":{\"type\":0,\"value\":1610},\"MidFreq2\":{\"type\":0,\"value\":1610},\"On\":{\"state\":true,\"type\":1},\"Presence\":{\"type\":0,\"value\":56},\"Presence2\":{\"type\":0,\"value\":50},\"PresetName\":{\"string\":\"+59 DELUXE GAIN MOD\",\"type\":8},\"PresetName2\":{\"string\":\"\",\"type\":8},\"Treble\":{\"type\":0,\"value\":50},\"Treble2\":{\"type\":0,\"value\":50},\"TremDepth\":{\"type\":0,\"value\":85},\"TremDepth2\":{\"type\":0,\"value\":0},\"TremSpeed\":{\"type\":0,\"value\":6.5},\"TremSpeed2\":{\"type\":0,\"value\":5.190000057220459},\"TremSync\":{\"state\":false,\"type\":1},\"Tremolo\":{\"state\":false,\"type\":1},\"Type\":{\"string\":\"59 Deluxe Gain Mod\",\"type\":4},\"Type2\":{\"string\":\"59 Deluxe Gain Mod\",\"type\":4}},\"type\":\"Node\"},\"Amp 2\":{\"childorder\":[\"PresetName\",\"PresetName2\",\"TremSync\",\"Doubling\",\"DoubleStates\",\"On\",\"Colour\",\"Type\",\"Bright\",\"Treble\",\"Mid\",\"MidFreq\",\"Bass\",\"Presence\",\"GainA\",\"GainB\",\"TremSpeed\",\"TremDepth\",\"Master\",\"Tremolo\",\"Type2\",\"Bright2\",\"Treble2\",\"Mid2\",\"MidFreq2\",\"Bass2\",\"Presence2\",\"GainA2\",\"GainB2\",\"TremSpeed2\",\"TremDepth2\",\"Master2\"],\"children\":{\"Bass\":{\"type\":0,\"value\":35},\"Bass2\":{\"type\":0,\"value\":50},\"Bright\":{\"state\":true,\"type\":1},\"Bright2\":{\"state\":false,\"type\":1},\"Colour\":{\"string\":\"Yellow\",\"type\":4},\"DoubleStates\":{\"state\":false,\"type\":3},\"Doubling\":{\"state\":false,\"type\":1},\"GainA\":{\"type\":0,\"value\":77},\"GainA2\":{\"type\":0,\"value\":50},\"GainB\":{\"type\":0,\"value\":40},\"GainB2\":{\"type\":0,\"value\":50},\"Master\":{\"type\":0,\"value\":50},\"Master2\":{\"type\":0,\"value\":50},\"Mid\":{\"type\":0,\"value\":50},\"Mid2\":{\"type\":0,\"value\":50},\"MidFreq\":{\"type\":0,\"value\":1610},\"MidFreq2\":{\"type\":0,\"value\":1610},\"On\":{\"state\":false,\"type\":1},\"Presence\":{\"type\":0,\"value\":50},\"Presence2\":{\"type\":0,\"value\":50},\"PresetName\":{\"string\":\"+65 BLACK PRINCE REV\",\"type\":8},\"PresetName2\":{\"string\":\"\",\"type\":8},\"Treble\":{\"type\":0,\"value\":65},\"Treble2\":{\"type\":0,\"value\":50},\"TremDepth\":{\"type\":0,\"value\":85},\"TremDepth2\":{\"type\":0,\"value\":0},\"TremSpeed\":{\"type\":0,\"value\":7},\"TremSpeed2\":{\"type\":0,\"value\":5.190000057220459},\"TremSync\":{\"state\":false,\"type\":1},\"Tremolo\":{\"state\":false,\"type\":1},\"Type\":{\"string\":\"65 Black Prince Rev\",\"type\":4},\"Type2\":{\"string\":\"59 Deluxe Gain Mod\",\"type\":4}},\"type\":\"Node\"},\"BBD Delay\":{\"childorder\":[\"PresetName\",\"Sync\",\"On\",\"Colour\",\"Delay\",\"Feedback\",\"InputGain\",\"Mix\",\"LFOSpeed\",\"LFODepth\",\"Hiss\",\"Tails\"],\"children\":{\"Colour\":{\"string\":\"Green\",\"type\":4},\"Delay\":{\"type\":0,\"value\":468},\"Feedback\":{\"type\":0,\"value\":16},\"Hiss\":{\"state\":false,\"type\":1},\"InputGain\":{\"type\":0,\"value\":50},\"LFODepth\":{\"type\":0,\"value\":0},\"LFOSpeed\":{\"type\":0,\"value\":3.309999942779541},\"Mix\":{\"type\":0,\"value\":18},\"On\":{\"state\":false,\"type\":1},\"PresetName\":{\"string\":\"+DEFAULT\",\"type\":8},\"Sync\":{\"state\":false,\"type\":1},\"Tails\":{\"state\":false,\"type\":1}},\"type\":\"Node\"},\"Black OP\":{\"childorder\":[\"PresetName\",\"Distortion\",\"Cutoff\",\"Volume\",\"On\",\"Colour\"],\"children\":{\"Colour\":{\"string\":\"Yellow\",\"type\":4},\"Cutoff\":{\"type\":0,\"value\":59},\"Distortion\":{\"type\":0,\"value\":22},\"On\":{\"state\":true,\"type\":1},\"PresetName\":{\"string\":\"ANALOG\",\"type\":8},\"Volume\":{\"type\":0,\"value\":100}},\"type\":\"Node\"},\"Chain\":{\"childorder\":[\"Routing\",\"Tails\",\"ModuleType1\",\"ModuleType2\",\"ModuleType3\",\"ModuleType4\",\"ModuleType5\",\"ModuleType6\",\"ModuleType7\",\"ModuleType8\",\"ModuleType9\",\"ModuleType10\",\"ModuleType11\",\"Para1Level\",\"Para2Level\",\"Para1Pan\",\"Para2Pan\",\"ParaDelay\"],\"children\":{\"ModuleType1\":{\"string\":\"Gray Comp\",\"type\":4},\"ModuleType10\":{\"string\":\"Para EQ\",\"type\":4},\"ModuleType11\":{\"string\":\"Graphic EQ\",\"type\":4},\"ModuleType2\":{\"string\":\"Black OP\",\"type\":4},\"ModuleType3\":{\"string\":\"Chorus\",\"type\":4},\"ModuleType4\":{\"string\":\"Flanger\",\"type\":4},\"ModuleType5\":{\"string\":\"BBD Delay\",\"type\":4},\"ModuleType6\":{\"string\":\"Amp 2\",\"type\":4},\"ModuleType7\":{\"string\":\"Amp\",\"type\":4},\"ModuleType8\":{\"string\":\"Spring Reverb\",\"type\":4},\"ModuleType9\":{\"string\":\"IR\",\"type\":4},\"Para1Level\":{\"type\":0,\"value\":-6},\"Para1Pan\":{\"type\":0,\"value\":0},\"Para2Level\":{\"type\":0,\"value\":-6},\"Para2Pan\":{\"type\":0,\"value\":0},\"ParaDelay\":{\"type\":0,\"value\":0},\"Routing\":{\"string\":\"S\",\"type\":4},\"Tails\":{\"state\":true,\"type\":1}},\"type\":\"Node\"},\"Chorus\":{\"childorder\":[\"PresetName\",\"Sync\",\"On\",\"Colour\",\"Rate\",\"Depth\",\"Feedback\",\"Mix\"],\"children\":{\"Colour\":{\"string\":\"Purple\",\"type\":4},\"Depth\":{\"type\":0,\"value\":37},\"Feedback\":{\"type\":0,\"value\":15},\"Mix\":{\"type\":0,\"value\":75},\"On\":{\"state\":false,\"type\":1},\"PresetName\":{\"string\":\"+DEFAULT STEREO\",\"type\":8},\"Rate\":{\"type\":0,\"value\":1.399999976158142},\"Sync\":{\"state\":false,\"type\":1}},\"type\":\"Node\"},\"Flanger\":{\"childorder\":[\"PresetName\",\"Sync\",\"On\",\"Colour\",\"Rate\",\"Depth\",\"Feedback\",\"PreDelay\",\"Stereo\"],\"children\":{\"Colour\":{\"string\":\"Orange\",\"type\":4},\"Depth\":{\"type\":0,\"value\":60},\"Feedback\":{\"type\":0,\"value\":60},\"On\":{\"state\":false,\"type\":1},\"PreDelay\":{\"type\":0,\"value\":0},\"PresetName\":{\"string\":\"+DEFAULT STEREO\",\"type\":8},\"Rate\":{\"type\":0,\"value\":0.25},\"Stereo\":{\"type\":0,\"value\":180},\"Sync\":{\"state\":false,\"type\":1}},\"type\":\"Node\"},\"Graphic EQ\":{\"childorder\":[\"PresetName\",\"On\",\"Colour\",\"LoGain\",\"LoMidGain\",\"MidGain\",\"HiMidGain\",\"HiGain\",\"Gain\"],\"children\":{\"Colour\":{\"string\":\"Yellow\",\"type\":4},\"Gain\":{\"type\":0,\"value\":0.5},\"HiGain\":{\"type\":0,\"value\":0.10000000149011612},\"HiMidGain\":{\"type\":0,\"value\":1.2000000476837158},\"LoGain\":{\"type\":0,\"value\":-0.20000000298023224},\"LoMidGain\":{\"type\":0,\"value\":2},\"MidGain\":{\"type\":0,\"value\":2.1000001430511475},\"On\":{\"state\":true,\"type\":1},\"PresetName\":{\"string\":\"4HEAD LEAD2\",\"type\":8}},\"type\":\"Node\"},\"Gray Comp\":{\"childorder\":[\"PresetName\",\"On\",\"Colour\",\"Sustain\",\"Level\"],\"children\":{\"Colour\":{\"string\":\"Red\",\"type\":4},\"Level\":{\"type\":0,\"value\":54},\"On\":{\"state\":true,\"type\":1},\"PresetName\":{\"string\":\"MP-1 RYTHM\",\"type\":8},\"Sustain\":{\"type\":0,\"value\":46}},\"type\":\"Node\"},\"IR\":{\"childorder\":[\"PresetName\",\"IR\",\"Gain\",\"HiCut\",\"LoCut\",\"Mix\",\"On\",\"Colour\"],\"children\":{\"Colour\":{\"string\":\"Green\",\"type\":4},\"Gain\":{\"type\":0,\"value\":3.9000000953674316},\"HiCut\":{\"type\":0,\"value\":3676},\"IR\":{\"string\":\"[directory](SDNA Rock Pack IRs)[name](Bar FRFR)\",\"type\":8},\"LoCut\":{\"type\":0,\"value\":86},\"Mix\":{\"type\":0,\"value\":100},\"On\":{\"state\":true,\"type\":1},\"PresetName\":{\"string\":\"+DEFAULT\",\"type\":8}},\"type\":\"Node\"},\"Input\":{\"childorder\":[\"PresetName\",\"InputGain\",\"GateThresh\",\"GateRelease\",\"FilterThreshold\",\"RigInput\"],\"children\":{\"FilterThreshold\":{\"type\":0,\"value\":-73.20000457763672},\"GateRelease\":{\"type\":0,\"value\":66},\"GateThresh\":{\"type\":0,\"value\":-82.4000015258789},\"InputGain\":{\"type\":0,\"value\":-2.5},\"PresetName\":{\"string\":\"CHURCH\",\"type\":8},\"RigInput\":{\"state\":false,\"type\":1}},\"type\":\"Node\"},\"Mix\":{\"childorder\":[\"Para1Level\",\"Para2Level\",\"Para1Pan\",\"Para2Pan\",\"ParaDelay\",\"PresetName\"],\"children\":{\"Para1Level\":{\"type\":0,\"value\":-6},\"Para1Pan\":{\"type\":0,\"value\":0},\"Para2Level\":{\"type\":0,\"value\":-6},\"Para2Pan\":{\"type\":0,\"value\":0},\"ParaDelay\":{\"type\":0,\"value\":0},\"PresetName\":{\"string\":\"\",\"type\":8}},\"type\":\"Node\"},\"Output\":{\"childorder\":[\"PresetName\",\"RigVolume\",\"RigWidth\",\"ToAmpGain\"],\"children\":{\"PresetName\":{\"string\":\"GARAGE\",\"type\":8},\"RigVolume\":{\"type\":0,\"value\":-13.600000381469727},\"RigWidth\":{\"type\":0,\"value\":100},\"ToAmpGain\":{\"type\":0,\"value\":0}},\"type\":\"Node\"},\"Para EQ\":{\"childorder\":[\"PresetName\",\"On\",\"Colour\",\"Type1\",\"Type4\",\"Gain1\",\"Gain2\",\"Gain3\",\"Gain4\",\"Freq1\",\"Freq2\",\"Freq3\",\"Freq4\",\"Q1\",\"Q2\",\"Q3\",\"Q4\"],\"children\":{\"Colour\":{\"string\":\"Yellow\",\"type\":4},\"Freq1\":{\"type\":0,\"value\":79},\"Freq2\":{\"type\":0,\"value\":289.3999938964844},\"Freq3\":{\"type\":0,\"value\":820},\"Freq4\":{\"type\":0,\"value\":6335.89990234375},\"Gain1\":{\"type\":0,\"value\":4.200000286102295},\"Gain2\":{\"type\":0,\"value\":-6.400000095367432},\"Gain3\":{\"type\":0,\"value\":-6.400000095367432},\"Gain4\":{\"type\":0,\"value\":-9.90000057220459},\"On\":{\"state\":true,\"type\":1},\"PresetName\":{\"string\":\"RUMBLE\",\"type\":8},\"Q1\":{\"type\":0,\"value\":0.20000000298023224},\"Q2\":{\"type\":0,\"value\":5.900000095367432},\"Q3\":{\"type\":0,\"value\":3.9000000953674316},\"Q4\":{\"type\":0,\"value\":1.399999976158142},\"Type1\":{\"string\":\"Shelf\",\"type\":4},\"Type4\":{\"string\":\"Notch\",\"type\":4}},\"type\":\"Node\"},\"Rig\":{\"childorder\":[\"PresetName\",\"Tempo\",\"TempoFromMaster\",\"RigCurPedalAB\"],\"children\":{\"PresetName\":{\"string\":\"GARAGE ROCK\",\"type\":8},\"RigCurPedalAB\":{\"state\":false,\"type\":1},\"Tempo\":{\"type\":0,\"value\":120},\"TempoFromMaster\":{\"state\":true,\"type\":1}},\"type\":\"Node\"},\"Spring Reverb\":{\"childorder\":[\"PresetName\",\"Decay\",\"Tone\",\"Mix\",\"DiffusionOn\",\"Width\",\"On\",\"Colour\",\"Tails\"],\"children\":{\"Colour\":{\"string\":\"Blue\",\"type\":4},\"Decay\":{\"type\":0,\"value\":1.899999976158142},\"DiffusionOn\":{\"state\":false,\"type\":1},\"Mix\":{\"type\":0,\"value\":20},\"On\":{\"state\":true,\"type\":1},\"PresetName\":{\"string\":\"CANT GET  RHY\",\"type\":8},\"Tails\":{\"state\":true,\"type\":1},\"Tone\":{\"type\":0,\"value\":4.400000095367432},\"Width\":{\"type\":0,\"value\":96}},\"type\":\"Node\"}}}},\"info\":{\"version\":\"3.0.2\"}}","created_at":1592039666,"id":"22966100-8898-4ffe-8382-982b935741d1","order":94,"prog_num":-1,"readonly":false}  


Nachdem ich diverse Zeichen ersetzt habe ist es auch valides JSON:

$json = Get-Content -path 'c:\tmp\test.rig'  
$json = $json.replace(':"{',':{')  
$json = $json.replace('\','')  
$json = $json.replace('}","created_at',',"created_at')  
$json = $json + '}'  

Ergebnis:
{"author":"UserName","color":2,"content":{"FootSwitch":{"data":{"FootSwitch":{"childorder":["Module1","Operation1","Scene1","MacroColour1","Scene1Slot1Preset","Scene1Slot2Preset","Scene1Slot3Preset","Scene1Slot4Preset","Scene1Slot5Preset","Scene1Slot6Preset","Scene1Slot7Preset","Scene1Slot8Preset","Scene1Slot9Preset","Scene1Slot10Preset","Scene1Slot11Preset","UserFootSwitchText1","ModeNew1","Module2","Operation2","Scene2","MacroColour2","Scene2Slot1Preset","Scene2Slot2Preset","Scene2Slot3Preset","Scene2Slot4Preset","Scene2Slot5Preset","Scene2Slot6Preset","Scene2Slot7Preset","Scene2Slot8Preset","Scene2Slot9Preset","Scene2Slot10Preset","Scene2Slot11Preset","UserFootSwitchText2","ModeNew2","Module3","Operation3","Scene3","MacroColour3","Scene3Slot1Preset","Scene3Slot2Preset","Scene3Slot3Preset","Scene3Slot4Preset","Scene3Slot5Preset","Scene3Slot6Preset","Scene3Slot7Preset","Scene3Slot8Preset","Scene3Slot9Preset","Scene3Slot10Preset","Scene3Slot11Preset","UserFootSwitchText3","ModeNew3","Module4","Operation4","Scene4","MacroColour4","Scene4Slot1Preset","Scene4Slot2Preset","Scene4Slot3Preset","Scene4Slot4Preset","Scene4Slot5Preset","Scene4Slot6Preset","Scene4Slot7Preset","Scene4Slot8Preset","Scene4Slot9Preset","Scene4Slot10Preset","Scene4Slot11Preset","UserFootSwitchText4","ModeNew4","Module5","Operation5","Scene5","MacroColour5","Scene5Slot1Preset","Scene5Slot2Preset","Scene5Slot3Preset","Scene5Slot4Preset","Scene5Slot5Preset","Scene5Slot6Preset","Scene5Slot7Preset","Scene5Slot8Preset","Scene5Slot9Preset","Scene5Slot10Preset","Scene5Slot11Preset","UserFootSwitchText5","ModeNew5","Module6","Operation6","Scene6","MacroColour6","Scene6Slot1Preset","Scene6Slot2Preset","Scene6Slot3Preset","Scene6Slot4Preset","Scene6Slot5Preset","Scene6Slot6Preset","Scene6Slot7Preset","Scene6Slot8Preset","Scene6Slot9Preset","Scene6Slot10Preset","Scene6Slot11Preset","UserFootSwitchText6","ModeNew6","Module7","Operation7","Scene7","MacroColour7","Scene7Slot1Preset","Scene7Slot2Preset","Scene7Slot3Preset","Scene7Slot4Preset","Scene7Slot5Preset","Scene7Slot6Preset","Scene7Slot7Preset","Scene7Slot8Preset","Scene7Slot9Preset","Scene7Slot10Preset","Scene7Slot11Preset","UserFootSwitchText7","ModeNew7","Module8","Operation8","Scene8","MacroColour8","Scene8Slot1Preset","Scene8Slot2Preset","Scene8Slot3Preset","Scene8Slot4Preset","Scene8Slot5Preset","Scene8Slot6Preset","Scene8Slot7Preset","Scene8Slot8Preset","Scene8Slot9Preset","Scene8Slot10Preset","Scene8Slot11Preset","UserFootSwitchText8","ModeNew8","LastScene"],"children":{"LastScene":{"type":10,"value":-1},"MacroColour1":{"string":"Green","type":4},"MacroColour2":{"string":"Green","type":4},"MacroColour3":{"string":"Green","type":4},"MacroColour4":{"string":"Green","type":4},"MacroColour5":{"string":"Green","type":4},"MacroColour6":{"string":"Green","type":4},"MacroColour7":{"string":"Green","type":4},"MacroColour8":{"string":"Green","type":4},"ModeNew1":{"string":"Toggle","type":4},"ModeNew2":{"string":"Toggle","type":4},"ModeNew3":{"string":"Toggle","type":4},"ModeNew4":{"string":"Toggle","type":4},"ModeNew5":{"string":"Toggle","type":4},"ModeNew6":{"string":"Toggle","type":4},"ModeNew7":{"string":"Toggle","type":4},"ModeNew8":{"string":"Toggle","type":4},"Module1":{"string":"Amp","type":8},"Module2":{"string":"Cab","type":8},"Module3":{"string":"Unassigned","type":8},"Module4":{"string":"Unassigned","type":8},"Module5":{"string":"White Boost","type":8},"Module6":{"string":"DynIII Comp","type":8},"Module7":{"string":"Spring Reverb","type":8},"Module8":{"string":"Amp","type":8},"Operation1":{"string":"On","type":8},"Operation2":{"string":"On","type":8},"Operation3":{"string":"","type":8},"Operation4":{"string":"","type":8},"Operation5":{"string":"On","type":8},"Operation6":{"string":"On","type":8},"Operation7":{"string":"On","type":8},"Operation8":{"string":"Vibrato","type":8},"Scene1":{"state":"AAAAAEVtcHR5IFNsb3QAAGVyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFdoaXRlIEJvb3N0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAER5bklJSSBDb21wAAByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENhYgB1cwBsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZvbHVtZQBheQAAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAGIAAAAAAAAAAAAAAAAAAAAAAAAA","type":24},"Scene1Slot10Preset":{"string":"No Preset","type":8},"Scene1Slot11Preset":{"string":"No Preset","type":8},"Scene1Slot1Preset":{"string":"No Preset","type":8},"Scene1Slot2Preset":{"string":"No Preset","type":8},"Scene1Slot3Preset":{"string":"No Preset","type":8},"Scene1Slot4Preset":{"string":"No Preset","type":8},"Scene1Slot5Preset":{"string":"No Preset","type":8},"Scene1Slot6Preset":{"string":"No Preset","type":8},"Scene1Slot7Preset":{"string":"No Preset","type":8},"Scene1Slot8Preset":{"string":"No Preset","type":8},"Scene1Slot9Preset":{"string":"No Preset","type":8},"Scene2":{"state":"AAAAAEVtcHR5IFNsb3QAAGVyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFdoaXRlIEJvb3N0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAER5bklJSSBDb21wAAByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENhYgB1cwBsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZvbHVtZQBheQAAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAGIAAAAAAAAAAAAAAAAAAAAAAAAA","type":24},"Scene2Slot10Preset":{"string":"No Preset","type":8},"Scene2Slot11Preset":{"string":"No Preset","type":8},"Scene2Slot1Preset":{"string":"No Preset","type":8},"Scene2Slot2Preset":{"string":"No Preset","type":8},"Scene2Slot3Preset":{"string":"No Preset","type":8},"Scene2Slot4Preset":{"string":"No Preset","type":8},"Scene2Slot5Preset":{"string":"No Preset","type":8},"Scene2Slot6Preset":{"string":"No Preset","type":8},"Scene2Slot7Preset":{"string":"No Preset","type":8},"Scene2Slot8Preset":{"string":"No Preset","type":8},"Scene2Slot9Preset":{"string":"No Preset","type":8},"Scene3":{"state":"AAAAAEVtcHR5IFNsb3QAAGVyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFdoaXRlIEJvb3N0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAER5bklJSSBDb21wAAByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENhYgB1cwBsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZvbHVtZQBheQAAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAGIAAAAAAAAAAAAAAAAAAAAAAAAA","type":24},"Scene3Slot10Preset":{"string":"No Preset","type":8},"Scene3Slot11Preset":{"string":"No Preset","type":8},"Scene3Slot1Preset":{"string":"No Preset","type":8},"Scene3Slot2Preset":{"string":"No Preset","type":8},"Scene3Slot3Preset":{"string":"No Preset","type":8},"Scene3Slot4Preset":{"string":"No Preset","type":8},"Scene3Slot5Preset":{"string":"No Preset","type":8},"Scene3Slot6Preset":{"string":"No Preset","type":8},"Scene3Slot7Preset":{"string":"No Preset","type":8},"Scene3Slot8Preset":{"string":"No Preset","type":8},"Scene3Slot9Preset":{"string":"No Preset","type":8},"Scene4":{"state":"AAAAAEVtcHR5IFNsb3QAAGVyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFdoaXRlIEJvb3N0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAER5bklJSSBDb21wAAByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENhYgB1cwBsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZvbHVtZQBheQAAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAGIAAAAAAAAAAAAAAAAAAAAAAAAA","type":24},"Scene4Slot10Preset":{"string":"No Preset","type":8},"Scene4Slot11Preset":{"string":"No Preset","type":8},"Scene4Slot1Preset":{"string":"No Preset","type":8},"Scene4Slot2Preset":{"string":"No Preset","type":8},"Scene4Slot3Preset":{"string":"No Preset","type":8},"Scene4Slot4Preset":{"string":"No Preset","type":8},"Scene4Slot5Preset":{"string":"No Preset","type":8},"Scene4Slot6Preset":{"string":"No Preset","type":8},"Scene4Slot7Preset":{"string":"No Preset","type":8},"Scene4Slot8Preset":{"string":"No Preset","type":8},"Scene4Slot9Preset":{"string":"No Preset","type":8},"Scene5":{"state":"AAAAAEVtcHR5IFNsb3QAAGVyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFdoaXRlIEJvb3N0AAAyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAER5bklJSSBDb21wAAByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAAByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAMgByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENhYgB1cwBsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZvbHVtZQBheQAAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAGIAAAAAAAAAAAAAAAAAAAAAAAAA","type":24},"Scene5Slot10Preset":{"string":"No Preset","type":8},"Scene5Slot11Preset":{"string":"No Preset","type":8},"Scene5Slot1Preset":{"string":"No Preset","type":8},"Scene5Slot2Preset":{"string":"No Preset","type":8},"Scene5Slot3Preset":{"string":"No Preset","type":8},"Scene5Slot4Preset":{"string":"No Preset","type":8},"Scene5Slot5Preset":{"string":"No Preset","type":8},"Scene5Slot6Preset":{"string":"No Preset","type":8},"Scene5Slot7Preset":{"string":"No Preset","type":8},"Scene5Slot8Preset":{"string":"No Preset","type":8},"Scene5Slot9Preset":{"string":"No Preset","type":8},"Scene6":{"state":"AAAAAEVtcHR5IFNsb3QAAGVyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFdoaXRlIEJvb3N0AAAyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAER5bklJSSBDb21wAAByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAAByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAMgByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENhYgB1cwBsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZvbHVtZQBheQAAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAGIAAAAAAAAAAAAAAAAAAAAAAAAA","type":24},"Scene6Slot10Preset":{"string":"No Preset","type":8},"Scene6Slot11Preset":{"string":"No Preset","type":8},"Scene6Slot1Preset":{"string":"No Preset","type":8},"Scene6Slot2Preset":{"string":"No Preset","type":8},"Scene6Slot3Preset":{"string":"No Preset","type":8},"Scene6Slot4Preset":{"string":"No Preset","type":8},"Scene6Slot5Preset":{"string":"No Preset","type":8},"Scene6Slot6Preset":{"string":"No Preset","type":8},"Scene6Slot7Preset":{"string":"No Preset","type":8},"Scene6Slot8Preset":{"string":"No Preset","type":8},"Scene6Slot9Preset":{"string":"No Preset","type":8},"Scene7":{"state":"AAAAAEVtcHR5IFNsb3QAAGVyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFdoaXRlIEJvb3N0AAAyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAER5bklJSSBDb21wAAByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAAByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAMgByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENhYgB1cwBsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZvbHVtZQBheQAAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAGIAAAAAAAAAAAAAAAAAAAAAAAAA","type":24},"Scene7Slot10Preset":{"string":"No Preset","type":8},"Scene7Slot11Preset":{"string":"No Preset","type":8},"Scene7Slot1Preset":{"string":"No Preset","type":8},"Scene7Slot2Preset":{"string":"No Preset","type":8},"Scene7Slot3Preset":{"string":"No Preset","type":8},"Scene7Slot4Preset":{"string":"No Preset","type":8},"Scene7Slot5Preset":{"string":"No Preset","type":8},"Scene7Slot6Preset":{"string":"No Preset","type":8},"Scene7Slot7Preset":{"string":"No Preset","type":8},"Scene7Slot8Preset":{"string":"No Preset","type":8},"Scene7Slot9Preset":{"string":"No Preset","type":8},"Scene8":{"state":"AAAAAEVtcHR5IFNsb3QAAGVyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFdoaXRlIEJvb3N0AAAyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAER5bklJSSBDb21wAAByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAAByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAMgByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEFtcAB5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENhYgB1cwBsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFZvbHVtZQBheQAAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFNwcmluZyBSZXZlcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAcmIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVtcHR5IFNsb3QAAGIAAAAAAAAAAAAAAAAAAAAAAAAA","type":24},"Scene8Slot10Preset":{"string":"No Preset","type":8},"Scene8Slot11Preset":{"string":"No Preset","type":8},"Scene8Slot1Preset":{"string":"No Preset","type":8},"Scene8Slot2Preset":{"string":"No Preset","type":8},"Scene8Slot3Preset":{"string":"No Preset","type":8},"Scene8Slot4Preset":{"string":"No Preset","type":8},"Scene8Slot5Preset":{"string":"No Preset","type":8},"Scene8Slot6Preset":{"string":"No Preset","type":8},"Scene8Slot7Preset":{"string":"No Preset","type":8},"Scene8Slot8Preset":{"string":"No Preset","type":8},"Scene8Slot9Preset":{"string":"No Preset","type":8},"UserFootSwitchText1":{"string":"","type":8},"UserFootSwitchText2":{"string":"","type":8},"UserFootSwitchText3":{"string":"","type":8},"UserFootSwitchText4":{"string":"","type":8},"UserFootSwitchText5":{"string":"","type":8},"UserFootSwitchText6":{"string":"","type":8},"UserFootSwitchText7":{"string":"","type":8},"UserFootSwitchText8":{"string":"","type":8}}}},"info":{"version":"3.0.2"}},"Pedal1":{"data":{"Pedal1":{"childorder":["Module1","Param1","Min1","Max1","Module2","Param2","Min2","Max2","Module3","Param3","Min3","Max3","Module4","Param4","Min4","Max4","PedalMode"],"children":{"Max1":{"type":0,"value":100},"Max2":{"type":0,"value":100},"Max3":{"type":0,"value":100},"Max4":{"type":0,"value":100},"Min1":{"type":0,"value":0},"Min2":{"type":0,"value":0},"Min3":{"type":0,"value":0},"Min4":{"type":0,"value":0},"Module1":{"string":"Volume","type":8},"Module2":{"string":"Unassigned","type":8},"Module3":{"string":"Unassigned","type":8},"Module4":{"string":"Unassigned","type":8},"Param1":{"string":"Volume","type":8},"Param2":{"string":"","type":8},"Param3":{"string":"","type":8},"Param4":{"string":"","type":8},"PedalMode":{"string":"Classic","type":4}}}},"info":{"version":"3.0.2"}},"Pedal2":{"data":{"Pedal2":{"childorder":["Module1","Param1","Min1","Max1","Module2","Param2","Min2","Max2","Module3","Param3","Min3","Max3","Module4","Param4","Min4","Max4"],"children":{"Max1":{"type":0,"value":100},"Max2":{"type":0,"value":100},"Max3":{"type":0,"value":100},"Max4":{"type":0,"value":100},"Min1":{"type":0,"value":0},"Min2":{"type":0,"value":0},"Min3":{"type":0,"value":0},"Min4":{"type":0,"value":0},"Module1":{"string":"Unassigned","type":8},"Module2":{"string":"Unassigned","type":8},"Module3":{"string":"Unassigned","type":8},"Module4":{"string":"Unassigned","type":8},"Param1":{"string":"","type":8},"Param2":{"string":"","type":8},"Param3":{"string":"","type":8},"Param4":{"string":"","type":8}}}},"info":{"version":"3.0.2"}},"RigEncoder":{"data":{"RigEncoder":{"childorder":["Module1","Param1","Module2","Param2","Module3","Param3"],"children":{"Module1":{"string":"DynIII Comp","type":8},"Module2":{"string":"Amp","type":8},"Module3":{"string":"Amp","type":8},"Param1":{"string":"Gain","type":8},"Param2":{"string":"Bright","type":8},"Param3":{"string":"Volume","type":8}}}},"info":{"version":"3.0.2"}},"data":{"Patch":{"childorder":["Chain","Rig","Input","Output","Mix","White Boost","DynIII Comp","Amp","Cab","Volume","Spring Reverb"],"children":{"Amp":{"childorder":["PresetName","PresetName2","TremSync","Doubling","DoubleStates","On","Colour","Type","Bright","Treble","Mid","MidFreq","Bass","Presence","GainA","GainB","TremSpeed","TremDepth","Master","Tremolo","Type2","Bright2","Treble2","Mid2","MidFreq2","Bass2","Presence2","GainA2","GainB2","TremSpeed2","TremDepth2","Master2"],"children":{"Bass":{"type":0,"value":33},"Bass2":{"type":0,"value":50},"Bright":{"state":true,"type":1},"Bright2":{"state":false,"type":1},"Colour":{"string":"Yellow","type":4},"DoubleStates":{"state":false,"type":3},"Doubling":{"state":false,"type":1},"GainA":{"type":0,"value":54},"GainA2":{"type":0,"value":50},"GainB":{"type":0,"value":50},"GainB2":{"type":0,"value":50},"Master":{"type":0,"value":50},"Master2":{"type":0,"value":50},"Mid":{"type":0,"value":64},"Mid2":{"type":0,"value":50},"MidFreq":{"type":0,"value":1610},"MidFreq2":{"type":0,"value":1610},"On":{"state":true,"type":1},"Presence":{"type":0,"value":50},"Presence2":{"type":0,"value":50},"PresetName":{"string":"+ 67 BLACK DUO","type":8},"PresetName2":{"string":"","type":8},"Treble":{"type":0,"value":60},"Treble2":{"type":0,"value":50},"TremDepth":{"type":0,"value":80},"TremDepth2":{"type":0,"value":0},"TremSpeed":{"string":"1/8","type":4},"TremSpeed2":{"string":"1/4","type":4},"TremSync":{"state":true,"type":1},"Tremolo":{"state":false,"type":1},"Type":{"string":"67 Black Duo","type":4},"Type2":{"string":"59 Tweed Deluxe","type":4}},"type":"Node"},"Cab":{"childorder":["PresetName","PresetName2","CabType","CabType2","Doubling","DoubleStates","On","Colour","MicType","MicType2","OnAxis","OnAxis2","Breakup","Breakup2","OutGain","OutGain2","AmpCompGain"],"children":{"AmpCompGain":{"type":0,"value":0},"Breakup":{"type":0,"value":0},"Breakup2":{"type":0,"value":0},"CabType":{"string":"2x12 Silver Cone","type":4},"CabType2":{"string":"2x12 Silver Cone","type":4},"Colour":{"string":"Green","type":4},"DoubleStates":{"state":false,"type":3},"Doubling":{"state":false,"type":1},"MicType":{"string":"Dyn 409","type":4},"MicType2":{"string":"Dyn 7","type":4},"On":{"state":true,"type":1},"OnAxis":{"state":false,"type":1},"OnAxis2":{"state":false,"type":1},"OutGain":{"type":0,"value":0},"OutGain2":{"type":0,"value":0},"PresetName":{"string":"","type":8},"PresetName2":{"string":"","type":8}},"type":"Node"},"Chain":{"childorder":["Routing","Tails","ModuleType1","ModuleType2","ModuleType3","ModuleType4","ModuleType5","ModuleType6","ModuleType7","ModuleType8","ModuleType9","ModuleType10","ModuleType11","Para1Level","Para2Level","Para1Pan","Para2Pan","ParaDelay"],"children":{"ModuleType1":{"string":"Empty Slot","type":4},"ModuleType10":{"string":"Empty Slot","type":4},"ModuleType11":{"string":"Empty Slot","type":4},"ModuleType2":{"string":"White Boost","type":4},"ModuleType3":{"string":"DynIII Comp","type":4},"ModuleType4":{"string":"Empty Slot","type":4},"ModuleType5":{"string":"Empty Slot","type":4},"ModuleType6":{"string":"Amp","type":4},"ModuleType7":{"string":"Cab","type":4},"ModuleType8":{"string":"Volume","type":4},"ModuleType9":{"string":"Spring Reverb","type":4},"Para1Level":{"type":0,"value":-6},"Para1Pan":{"type":0,"value":0},"Para2Level":{"type":0,"value":-6},"Para2Pan":{"type":0,"value":0},"ParaDelay":{"type":0,"value":0},"Routing":{"string":"S","type":4},"Tails":{"state":true,"type":1}},"type":"Node"},"DynIII Comp":{"childorder":["PresetName","On","Colour","Threshold","Attack","Release","Ratio","Knee","Gain"],"children":{"Attack":{"type":0,"value":1.7300000190734863},"Colour":{"string":"Red","type":4},"Gain":{"type":0,"value":3.700000047683716},"Knee":{"type":0,"value":15},"On":{"state":true,"type":1},"PresetName":{"string":"+ DEFAULT","type":8},"Ratio":{"type":0,"value":3.9000000953674316},"Release":{"type":0,"value":106},"Threshold":{"type":0,"value":-26.80000114440918}},"type":"Node"},"Input":{"childorder":["PresetName","InputGain","GateThresh","GateRelease","FilterThreshold","RigInput"],"children":{"FilterThreshold":{"type":0,"value":-120},"GateRelease":{"type":0,"value":11},"GateThresh":{"type":0,"value":-60},"InputGain":{"type":0,"value":0},"PresetName":{"string":"","type":8},"RigInput":{"state":false,"type":1}},"type":"Node"},"Mix":{"childorder":["Para1Level","Para2Level","Para1Pan","Para2Pan","ParaDelay","PresetName"],"children":{"Para1Level":{"type":0,"value":-6},"Para1Pan":{"type":0,"value":0},"Para2Level":{"type":0,"value":-6},"Para2Pan":{"type":0,"value":0},"ParaDelay":{"type":0,"value":0},"PresetName":{"string":"","type":8}},"type":"Node"},"Output":{"childorder":["PresetName","RigVolume","RigWidth","ToAmpGain"],"children":{"PresetName":{"string":"","type":8},"RigVolume":{"type":0,"value":4},"RigWidth":{"type":0,"value":100},"ToAmpGain":{"type":0,"value":0}},"type":"Node"},"Rig":{"childorder":["PresetName","Tempo","TempoFromMaster","RigCurPedalAB"],"children":{"PresetName":{"string":"001 HOW DOES IT FEEL","type":8},"RigCurPedalAB":{"state":false,"type":1},"Tempo":{"type":0,"value":96},"TempoFromMaster":{"state":false,"type":1}},"type":"Node"},"Spring Reverb":{"childorder":["PresetName","Decay","Tone","Mix","DiffusionOn","Width","On","Colour","Tails"],"children":{"Colour":{"string":"Blue","type":4},"Decay":{"type":0,"value":1.899999976158142},"DiffusionOn":{"state":true,"type":1},"Mix":{"type":0,"value":15},"On":{"state":true,"type":1},"PresetName":{"string":"+ DEFAULT STEREO","type":8},"Tails":{"state":false,"type":1},"Tone":{"type":0,"value":8},"Width":{"type":0,"value":90}},"type":"Node"},"Volume":{"childorder":["PresetName","On","Colour","Volume","MinVolume","Linear"],"children":{"Colour":{"string":"Red","type":4},"Linear":{"state":true,"type":1},"MinVolume":{"type":0,"value":0},"On":{"state":true,"type":1},"PresetName":{"string":"+ DEFAULT LINEAR","type":8},"Volume":{"type":0,"value":100}},"type":"Node"},"White Boost":{"childorder":["PresetName","Gain","Treble","Bass","Volume","On","Colour"],"children":{"Bass":{"type":0,"value":42},"Colour":{"string":"Yellow","type":4},"Gain":{"type":0,"value":0},"On":{"state":true,"type":1},"PresetName":{"string":"ANALOG WARMTH","type":8},"Treble":{"type":0,"value":45},"Volume":{"type":0,"value":27}},"type":"Node"}}}},"info":{"version":"3.0.2"},"created_at":23171,"id":"3203bb0b-1c35-4bea-b207-8ef72cb81038","order":56,"prog_num":-1,"readonly":false}}  

Jetzt würde ich gerne ALLE Key/Value Paare auflisten.
Hier mein bisheriger Code:

$json2 = $json | ConvertFrom-Json 

foreach ($info in $json2.PSObject.Properties) {
    $info.Name
    $info.Value
}

Ergebnis:
author
UserName
color
2
content


FootSwitch : @{data=; info=}
Pedal1     : @{data=; info=}
Pedal2     : @{data=; info=}
RigEncoder : @{data=; info=}
data       : @{Patch=}
info       : @{version=3.0.2}
created_at : 23171
id         : 3203bb0b-1c35-4bea-b207-8ef72cb81038
order      : 56
prog_num   : -1
readonly   : False

Nun würde ich aber auch gerne die Keys/Values aus "FootSwitch", "Pedal1", etc. haben.
Wie komme ich da dran?

Content-ID: 1240642307

Url: https://administrator.de/contentid/1240642307

Ausgedruckt am: 24.11.2024 um 05:11 Uhr

TK1987
Lösung TK1987 09.09.2021 aktualisiert um 09:45:30 Uhr
Goto Top
Moin,

Zitat von @MrCount:
Nun würde ich aber auch gerne die Keys/Values aus "FootSwitch", "Pedal1", etc. haben.
Wie komme ich da dran?
diese sind wiederum Eigenschaften des Objekts Content, daher musst du auch entsprechend so fortfahren:
$json.content.PsObject.Properties.Name
$json.content.PsObject.Properties.Value

Wenn du wirklich alle Eigenschaftsnamen sämtlicher Subobjekte etc. aufgelistet haben willst, bringen dich die Namen alleine nicht wirklich weiter - weil du dann hinter nicht mehr wüsstest, welche Eigenschaft zu welchem Objekt gehört.

Was möglich wäre, ist eine Funktion zu bauen, die die Eigenschaften recursiv ausgibt:
Function Get-PropertiesRecursive ($Object) {
  Foreach ($Property in $Object.PSObject.Properties.Name) {
    $Name = @{$true="""$Property""" ; $false=$Property}[$Property -match '\s']  
    [Array]$Keys += $Name
    if ($Object.$Property -is [psobject]) {$Keys += (Get-PropertiesRecursive  $Object.$Property) -Replace "^","$Name."}  
  }
  
  Return $Keys
}

back-to-topDas Ganze dann mit deiner Json in Aktion:
unbenannt

Um dann noch die Werte zu erhalten, brauchst du die Ausgabe dann nur noch mit Foreach abzuarbeiten.

Gruß Thomas
MrCount
MrCount 09.09.2021 aktualisiert um 12:47:37 Uhr
Goto Top
Servus Thomas,

erstmal danke für die Hilfe und den Code!
Der funktioniert auch wunderbar.

Habe mir das Ergebnis in eine txt ausgeben lassen und versuche nun mit foreach jeden Wert zu bekommen, was aber nicht klappt.

keys.txt:
2021-09-09 12_43_26-keys.txt - editor


Hier der Code:
$Keylist = Get-Content -path 'c:\tmp\keys.txt'  
foreach ($key in $Keylist)
{
	Write-Host $key " : " $json2.$key  
}

Dabei werden mir allerdings keine bzw. nur ein paar Werte angezeigt.
Ausgabe:
2021-09-09 12_45_43-windows powershell
2021-09-09 12_28_39-windows powershell

Wenn ich
Write-Host $json2.content.info.version
Write-Host $json2.content.id
verwende, dann werden mir die Werte angezeigt.

Ausgabe:
2021-09-09 12_28_55-windows powershell
TK1987
Lösung TK1987 09.09.2021 aktualisiert um 13:39:59 Uhr
Goto Top
Zitat von @MrCount:
Hier der Code:
 $Keylist = Get-Content -path 'c:\tmp\keys.txt'  
 foreach ($key in $Keylist)
 {
 	Write-Host $key " : " $json2.$key  
 }
 

Dabei werden mir allerdings keine bzw. nur ein paar Werte angezeigt.
Wenn du eine Eigenschaft aus einer Variable (in deinem Fall $key) aufrufst, wird die gesamte Variable als ein zusammenhängender Eigenschaftname aufgerufen (also inklusive der Punkte, welche als Eigenschaftsname ebenfalls zulässig sind).

Um zu erreichen, dass die Punkte als Subproperties erkannt werden, muss du die $json Variable inkl. der $keys Variable als Zeichenkette zusammenfügen und dann mit invoke-expression arbeiten, um die Zeichenkette als Code auszuführen.
$Keylist = Get-Content -path 'c:\tmp\keys.txt'  
foreach ($key in $Keylist)
{
  Write-Host $key  :  (Invoke-Expression ('$json2.' + $key))  
}
MrCount
MrCount 09.09.2021 um 13:47:50 Uhr
Goto Top
Zitat von @TK1987:

Um zu erreichen, dass die Punkte als Subproperties erkannt werden, muss du die $json Variable inkl. der $keys Variable als Zeichenkette zusammenfügen und dann mit invoke-expression arbeiten, um die Zeichenkette als Code auszuführen.

Merci!! face-smile