title: python json error Expecting property name: line 1 column 2 (char 1)
body: <p>Please help</p>
  
  <pre><code>def checkActionType(jsondata):
      print("In checkActionType method") 
      print type(jsondata)
      jsonformat = json.loads(jsondata)
      action=str(jsonformat["action"])
  </code></pre>
  
  <p>and i passing</p>
  
  <pre><code>data = {u'userId': 3, u'module': u'report', u'clientId': 3, u'action': u'tablestats'}
  </code></pre>
  
  <p>r = checkActionType(data)</p>
  
  <p>Getting an error </p>
  
  <pre><code>jsonformat = json.loads(jsondata)
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
  return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
  obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
  obj, end = self.scan_once(s, idx)
  ValueError: Expecting property name: line 1 column 2 (char 1)
  </code></pre>