Dictionary to / from TXT file

Here’s an example:

Scanning through what you have, I think your JSON is wrong.

Taking a combinaton of my example and your screenshot, I think you have something like this:

{"Test" : "https://maker.ifttt.com/trigger/Test/with/key/1x2x3x4x5x6x"}
{"Hejsa" : "https://maker.ifttt.com/trigger/Hejsa/with/key/1y2y3y4y5y6y"}

But I think you should have something more like this:

{
    "Test" : "https://maker.ifttt.com/trigger/Test/with/key/1x2x3x4x5x6x",
    "Hejsa" : "https://maker.ifttt.com/trigger/Hejsa/with/key/1y2y3y4y5y6y"
}

i.e. it’s like you have created two isolated ditionaries in one file each containing a single key value pair, rather than creating a single dictionary containing two key value pairs.

It may be worth you validating any future data using something like JSONLinter, just to ensure you have your format correct.

Hope that helps.