I just have a question regarding SimpleJSON's documentation. Is it implicit understood that functions for example .get() can be used without the need of the author to document it? Or is it something regarding how python works instead for how SimpleJSON works, thus no need to write it down? I got really frustrated when I couldn't find in the documentation that get()
could be used.
http://simplejson.readthedocs.org/en/latest/index.html
For example following code
import simplejson as json
import urllib2
req = urllib2.Request("http://example.com/someJson")
opener = urllib2.build_opener()
f = opener.open(req)
data = json.load(f)
print data.get('results')
I couldn't find anywhere in the documentation about this function.