title: 'Request' object has no attribute 'json'
body: <p>I've run the following command in the terminal to verify my current installation of cherryPy </p>
  
  <pre><code>python -c "import cherrypy;print cherrypy.__version__"
  3.3.0
  </code></pre>
  
  <p>However, the following code results in error:</p>
  
  <pre><code>@cherrypy.expose
  @cherrypy.tools.json_in() 
  def observe(self, urlParam1=None):
      print cherrypy.request.json
      return ""
  </code></pre>
  
  <p>When running this I get the following error:</p>
  
  <pre><code>  File "C:\Anaconda\lib\site-packages\cherrypy\__init__.py", line 224, in __getattr__
      return getattr(child, name)
  
  AttributeError: 'Request' object has no attribute 'json'
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>This is how I'm sending the request:</p>
  
  <pre><code> var insertJSON = JSON.stringify(insertObj);
  
  $.ajax({
                  type : "POST",
                  contentType : "application/json",
                  url : 'http://10.XX.X.XXX:XXXX/observe',
                  data : insertJSON,
                  dataType : "json",
                  success : function(result) {
                      alert('observation inserted');
                  }
              });
  </code></pre>
  
  <p>Edit 2:
  I'm doing this all in Eclipse with PyDev. If I control-click on request in cherrypy.request it opens up the file cherypy__init__.py as should be expected.  However, if I control-click on json, it doesn't know where the file is.</p>
  
  <p>I've tried uninstalling the library manually - and then redownloading from  <a href="https://pypi.python.org/pypi/CherryPy/3.2.4" rel="nofollow">https://pypi.python.org/pypi/CherryPy/3.2.4</a> and placing the appropriate folders in C:\Anaconda\Lib\site-packages</p>