I have a json file. A simplified version of it looks as following:
json
{ \"host\": \"a.com\", \"ip\": \"1.2.2.3\", \"port\": 8 } { \"host\":
Your JSON file isn't available in proper format. It should be like this, inside a list, comma separated:
[ { "host": "a.com", "ip": "1.2.2.3", "port": 8 }, { "host": "b.com", "ip": "2.5.0.4", "port": 3 }, { "host": "c.com", "ip": "9.17.6.7", "port": 4 }, ]