Language
Python
Compiler
CPython 3.6.2
Options
$ python3 prog.py
['value1', 'value2', 'value3']
Traceback (most recent call last):
File "prog.py", line 7, in <module>
print(json.loads(src))
File "/opt/wandbox/cpython-3.6.2/lib/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/opt/wandbox/cpython-3.6.2/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/opt/wandbox/cpython-3.6.2/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 2 (char 1)
Exit Code:
1