summaryrefslogtreecommitdiff
path: root/simplejson/encoder.py
Commit message (Collapse)AuthorAgeFilesLines
* 2.3.0 and iterable_as_array encoding optioniterable_as_array-gh1Bob Ippolito2011-09-041-4/+24
|
* 2.2.0 - namedtuple_as_object and tuple_as_array options, use_decimal now ↵namedtuple-object-gh6Bob Ippolito2011-09-041-7/+36
| | | | True on encoding
* update docs with namedtuple encoding to JSON objectBob Ippolito2011-09-031-1/+1
|
* Force unicode linebreak characters to be escaped (U+2028 and U+2029)Bob Ippolito2011-05-151-1/+3
|
* Trailing whitespace after commas no longer emitted when indent is usedBob Ippolito2011-04-121-0/+2
|
* http://code.google.com/p/simplejson/issues/detail?id=86Bob Ippolito2010-11-051-1/+1
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@240 a4795897-2c25-0410-b006-0d3caba88fa1
* http://bugs.python.org/issue10019Bob Ippolito2010-10-081-2/+2
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@234 a4795897-2c25-0410-b006-0d3caba88fa1
* http://code.google.com/p/simplejson/issues/detail?id=34Bob Ippolito2010-03-081-12/+25
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@219 a4795897-2c25-0410-b006-0d3caba88fa1
* http://code.google.com/p/simplejson/issues/detail?id=66Bob Ippolito2009-12-271-0/+28
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@202 a4795897-2c25-0410-b006-0d3caba88fa1
* encoding memoizationBob Ippolito2009-12-271-2/+6
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@201 a4795897-2c25-0410-b006-0d3caba88fa1
* http://code.google.com/p/simplejson/issues/detail?id=56 indent changed to stringBob Ippolito2009-05-171-8/+12
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@193 a4795897-2c25-0410-b006-0d3caba88fa1
* first pass at http://code.google.com/p/simplejson/issues/detail?id=55 -- ↵Bob Ippolito2009-05-171-0/+1
| | | | | | requires manual run of python -msimplejson.tests, does not integrate with nosetests or setup.py test yet git-svn-id: http://simplejson.googlecode.com/svn/trunk@185 a4795897-2c25-0410-b006-0d3caba88fa1
* fixed http://code.google.com/p/simplejson/issues/detail?id=48Bob Ippolito2009-04-141-2/+7
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@184 a4795897-2c25-0410-b006-0d3caba88fa1
* Use PosInf from decoder http://codereview.appspot.com/20095/diff/1/12#newcode31Bob Ippolito2009-02-281-3/+3
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@174 a4795897-2c25-0410-b006-0d3caba88fa1
* fix long lines, make py2.6+ porting a bit easierBob Ippolito2009-02-221-7/+13
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@173 a4795897-2c25-0410-b006-0d3caba88fa1
* replace a few string formats with string addition to make py26+ porting easierBob Ippolito2009-02-161-0/+3
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@169 a4795897-2c25-0410-b006-0d3caba88fa1
* replace a few string formats with string addition to make py26+ porting easierBob Ippolito2009-02-161-4/+5
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@168 a4795897-2c25-0410-b006-0d3caba88fa1
* fixed http://code.google.com/p/simplejson/issues/detail?id=35 -- no longer ↵Bob Ippolito2009-02-161-7/+7
| | | | | | checks exactly for True and False git-svn-id: http://simplejson.googlecode.com/svn/trunk@164 a4795897-2c25-0410-b006-0d3caba88fa1
* changes relevant to http://codereview.appspot.com/7311 -- mostly ↵Bob Ippolito2009-01-051-0/+3
| | | | | | documentation improvements and a small error handling fix git-svn-id: http://simplejson.googlecode.com/svn/trunk@161 a4795897-2c25-0410-b006-0d3caba88fa1
* bump version, use python stdlib whitespace and docstring conventionsBob Ippolito2008-10-171-26/+20
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@147 a4795897-2c25-0410-b006-0d3caba88fa1
* use C path for float encodingBob Ippolito2008-09-261-2/+2
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@126 a4795897-2c25-0410-b006-0d3caba88fa1
* use tp_call instead of methodsBob Ippolito2008-09-261-2/+1
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@125 a4795897-2c25-0410-b006-0d3caba88fa1
* C fast path for encodingBob Ippolito2008-09-261-9/+20
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@121 a4795897-2c25-0410-b006-0d3caba88fa1
* cut out a few yields in exchange for string opsBob Ippolito2008-09-261-9/+10
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@120 a4795897-2c25-0410-b006-0d3caba88fa1
* god bless closures.Bob Ippolito2008-09-261-188/+163
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@119 a4795897-2c25-0410-b006-0d3caba88fa1
* first pass at making a horrible optimized mess out of the encoding bits of ↵Bob Ippolito2008-09-261-172/+243
| | | | | | simplejson git-svn-id: http://simplejson.googlecode.com/svn/trunk@118 a4795897-2c25-0410-b006-0d3caba88fa1
* http://code.google.com/p/simplejson/issues/detail?id=16Bob Ippolito2008-08-201-5/+2
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@98 a4795897-2c25-0410-b006-0d3caba88fa1
* backport fixes from py2.6 issue2750 branchBob Ippolito2008-05-041-11/+13
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@93 a4795897-2c25-0410-b006-0d3caba88fa1
* PEP 7, PEP 8 cleanupsBob Ippolito2008-05-031-7/+11
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@87 a4795897-2c25-0410-b006-0d3caba88fa1
* http://code.google.com/p/simplejson/issues/detail?id=10Bob Ippolito2008-05-031-3/+6
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@86 a4795897-2c25-0410-b006-0d3caba88fa1
* doctest fixBob Ippolito2008-04-161-1/+1
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@82 a4795897-2c25-0410-b006-0d3caba88fa1
* more tests, python -msimplejson pretty printerBob Ippolito2008-03-231-1/+7
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@68 a4795897-2c25-0410-b006-0d3caba88fa1
* bump version to 1.8, remove </script> attack prevention (escaping of /), ↵Bob Ippolito2008-03-231-2/+0
| | | | | | revert to accurate numbers and an appropriate test git-svn-id: http://simplejson.googlecode.com/svn/trunk@66 a4795897-2c25-0410-b006-0d3caba88fa1
* fix regex for http://deron.meranda.us/python/comparing_json_modules/stringsBob Ippolito2008-03-231-1/+1
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@65 a4795897-2c25-0410-b006-0d3caba88fa1
* switch back to repr for accuracyBob Ippolito2008-03-231-1/+2
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@64 a4795897-2c25-0410-b006-0d3caba88fa1
* use str(float) instead of repr(float)Bob Ippolito2008-03-161-1/+1
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@61 a4795897-2c25-0410-b006-0d3caba88fa1
* 1.7.3Bob Ippolito2007-10-161-1/+1
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@55 a4795897-2c25-0410-b006-0d3caba88fa1
* optional C speedupsBob Ippolito2007-03-181-5/+36
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@45 a4795897-2c25-0410-b006-0d3caba88fa1
* add str encoding support to dump/dumpsBob Ippolito2007-03-021-2/+11
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@40 a4795897-2c25-0410-b006-0d3caba88fa1
* separators, encoding speedup, more test coverage for indentBob Ippolito2007-01-141-19/+43
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@35 a4795897-2c25-0410-b006-0d3caba88fa1
* produce inf at runtimeBob Ippolito2006-11-301-6/+3
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@34 a4795897-2c25-0410-b006-0d3caba88fa1
* 1.0 vs. infinity patch for Win32Bob Ippolito2006-11-301-1/+4
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@33 a4795897-2c25-0410-b006-0d3caba88fa1
* encoderBob Ippolito2006-08-101-19/+19
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@30 a4795897-2c25-0410-b006-0d3caba88fa1
* indent featureBob Ippolito2006-07-151-7/+25
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@29 a4795897-2c25-0410-b006-0d3caba88fa1
* unusedBob Ippolito2006-07-121-1/+0
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@28 a4795897-2c25-0410-b006-0d3caba88fa1
* unusedBob Ippolito2006-07-121-1/+0
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@27 a4795897-2c25-0410-b006-0d3caba88fa1
* prevent </script> attackBob Ippolito2006-04-121-1/+3
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@23 a4795897-2c25-0410-b006-0d3caba88fa1
* sort_keys from cceBob Ippolito2006-03-181-7/+18
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@18 a4795897-2c25-0410-b006-0d3caba88fa1
* YAML spaceBob Ippolito2006-02-161-1/+1
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@17 a4795897-2c25-0410-b006-0d3caba88fa1
* docsBob Ippolito2005-12-311-17/+21
| | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@7 a4795897-2c25-0410-b006-0d3caba88fa1