Searched defs:simplejson (Results 1 - 4 of 4) sorted by path

/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/
H A Dmain.py17 from django.utils import simplejson namespace
90 json = simplejson.loads(response_text)
/external/chromium_org/third_party/simplejson/
H A D__init__.py5 :mod:`simplejson` exposes an API familiar to users of the standard library
14 >>> import simplejson as json
33 >>> import simplejson as json
39 >>> import simplejson as json
49 >>> import simplejson as json
62 >>> import simplejson as json
77 >>> import simplejson as json
91 Using simplejson.tool from the shell to validate and pretty-print::
93 $ echo '{"json":"obj"}' | python -m simplejson.tool
97 $ echo '{ 1.2:3.4}' | python -m simplejson
472 import simplejson.decoder as dec namespace
473 import simplejson.encoder as enc namespace
474 import simplejson.scanner as scan namespace
[all...]
/external/chromium_org/tools/json_schema_compiler/
H A Djson_parse.py30 # support object_pairs_hook. simplejson however does, but it's slow.
34 #logging.warning('Using simplejson to parse, this might be slow! Upgrade to '
50 import simplejson namespace
51 from simplejson import OrderedDict
56 return simplejson.loads(json_comment_eater.Nom(json_str),
/external/chromium_org/tools/perf_expectations/tests/
H A Dperf_expectations_unittest.py6 """Verify perf_expectations.json can be loaded using simplejson.
9 that simplejson can load it correctly. It should catch most common
19 simplejson = None variable
25 global simplejson
31 # is where to look for simplejson
34 # to look for simplejson
46 raise Exception, "Error locating simplejson load path (%s)" % msg
48 # Try importing simplejson once. If this succeeds, we found it and will
52 import simplejson as Simplejson
53 simplejson
57 (load_path, msg) namespace
[all...]

Completed in 677 milliseconds