Skip to content

Instantly share code, notes, and snippets.

View stuartlangridge's full-sized avatar

Stuart Langridge stuartlangridge

View GitHub Profile
~/Scra+/ralight-configs $ python3 -c "import json; print(json.load(open('broken-config.json')))"
[snip]
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 10 column 20 (char 151)
~/Scra+/ralight-configs $ python3 -c "import yaml; print(yaml.safe_load(open('broken-config.yaml')))"
[snip]
yaml.scanner.ScannerError: while scanning a simple key
in "broken-config.yaml", line 9, column 5
could not found expected ':'
in "broken-config.yaml", line 10, column 18