running JSON from pyton issues : Construction like this failed when running json from pyton:

    cut test.json 
    "01-cd":{"command": "mkdir -p /perm/opt/ODS",
									"cwd": "/"}

output:


    File "parse.py", line 8, in <module>

    data = json.load(jdata)
  

    File "/usr/lib64/python2.7/json/__init__.py", line 291, in load
    **kw)
    File "/usr/lib64/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
   File "/usr/lib64/python2.7/json/decoder.py", line 367, in decode
    raise ValueError(errmsg("Extra data", s, end, len(s)))
   ValueError: Extra data: line 1 column 24 - line 2 column 1 (char 23 - 76


    pyton parse.py test.json

   import json
   import sys
   import subprocess
   from pprint import pprint

   jdata = open(sys.argv[1])

     data = json.load(jdata)

    print "start"
    subprocess.call(data['script'], shell=True)
    print "end"
   jdata.close()



TIA