summaryrefslogtreecommitdiff
path: root/cherrypy/lib/jsontools.py
Commit message (Collapse)AuthorAgeFilesLines
* Move json from _cpcompat to its own module.Jason R. Coombs2018-09-041-3/+4
|
* Remove Python 2.5 commentsJason R. Coombs2017-07-081-6/+0
|
* Convert all strings to conform single-quoted styleSviatoslav Sydorenko2016-09-081-1/+1
| | | | pre-commit run double-quote-string-fixer --all-files
* HTTPError provides context manager for handling exceptions.Aric Coady2016-09-031-3/+1
|
* Use the preferred name text_or_bytes to avoid conflation with 'basestring' ↵Jason R. Coombs2016-07-241-2/+2
| | | | which has no equivalent on Python 3.
* Backed out changeset b83128f0f642. jaraco.itertools requires Python 2.7.Jason R. Coombs2016-06-231-4/+2
|
* Use always_iterable to re-use a proven function for the pattern of accepting ↵Jason R. Coombs2016-06-061-2/+4
| | | | None, iterable of strings, or single string for a parameter.
* Merge with 3.2.xJason R. Coombs2014-04-121-2/+1
|\
| * Remove unused importsJason R. Coombs2014-03-021-3/+1
| | | | | | | | | | --HG-- branch : cherrypy-3.2.x
| * Removed trailing whitespace from the codebase.Gustavo Picon2012-04-031-7/+7
| | | | | | | | | | | | | | sed -i '' -e 's/ *$//' `find cherrypy -name '*.py'` --HG-- branch : cherrypy-3.2.x
* | More PEP8 work.Gustavo Picon2014-01-121-1/+2
| |
* | Running: autopep8 -vvvvv -i `find . -name '*.py'`Gustavo Picon2014-01-121-3/+7
| | | | | | | | | | --HG-- branch : autopep8
* | Improve fix for the bug of the json tools and caching,Joel Rivera2013-04-081-5/+6
| | | | | | | | | | this is more general and no tightly bound to the caching tool. Fixing issue #1237.
* | json tool to work with cached (fixing #1237)Miki Tebeka2013-04-021-1/+5
| |
* | Removed trailing whitespace from the codebase.Gustavo Picon2012-04-031-7/+7
|/ | | | sed -i '' -e 's/ *$//' `find cherrypy -name '*.py'`
* Fix for #1059 (py2/jsontools/json_out: debug message uses undefined global ↵Robert Brewer2011-07-041-1/+1
| | | | (prob. copy&paste mistake))
* Bye bye, py2/3.Robert Brewer2011-07-021-0/+87
|
* Bringing python3 back into trunk with its own py3 folder; what was in trunk ↵trunkRobert Brewer2011-02-251-87/+0
| | | | goes in the py2 folder, and we can use a single setup.py to install either, depending on the version of Python that runs setup.py install.
* Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.Robert Brewer2011-02-241-22/+4
|
* Prefer simplejson to the builtin json module. It's usually more advanced and ↵Robert Brewer2010-12-301-7/+8
| | | | has optional C speedups.
* Allow the default processor and handler for the json tools to be overriddenJoseph Tate2010-03-151-7/+16
|
* Fixed up jsontools to be modern: docstrings, debug output, and better ↵Robert Brewer2010-02-111-21/+66
| | | | Content-Type support.
* Better json_in default_proc.Robert Brewer2009-08-231-7/+2
|
* Switched the json_in tool to take advantage of the new body.processors.Robert Brewer2009-08-231-18/+25
|
* All internals now use cherrypy.serving.request/response instead of ↵Robert Brewer2009-06-221-3/+3
| | | | request/response for a speed boost.
* #831, fixed `json` import login in jsontools to make sure it's only loaded intabo2009-04-021-2/+3
| | | | | python >= 2.6 (the python-json package used by sugar installs a json package in 2.5 but it's a complete different thing, making everything fail)
* json support: better import logic (#831)alex.morega2009-04-011-13/+19
|
* JSON input/output tools (#831)alex.morega2009-03-311-0/+41