Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump version, update changelog, fix issues identified in code review of #143 | Bob Ippolito | 2016-10-28 | 1 | -1/+5 |
| | |||||
* | Merge branch 'raw_json' of https://github.com/lamflam/simplejson into ↵ | Bob Ippolito | 2016-10-28 | 1 | -0/+10 |
|\ | | | | | | | lamflam-raw_json | ||||
| * | Add support for preprocessed JSON strings (with optimizations) in encoder | Kevin LaFlamme | 2016-09-01 | 1 | -0/+10 |
| | | | | | | | | In some situations, you may have a large python dictionary you need to JSONify but one of the values inside the dict is already a JSON string. This is common when pulling an object from a database, for example, where one of the fields is a JSON blob/string. Previously you would have to deserialize and then reserialize that string just to serialize the high level object, but obviously this is unnecessarily slow. This changes adds a method/type that can be used to wrap a str and tell the serializer to just pass it through instead. | ||||
* | | Fixes #144. Workaround for bad behavior in string subclasses. | Bob Ippolito | 2016-10-21 | 1 | -1/+9 |
|/ | |||||
* | Fix issue with iterable_as_array and indent option, closes #128v3.8.1 | Bob Ippolito | 2015-10-27 | 1 | -4/+8 |
| | |||||
* | Merge branch 'master' into iterable_as_array-gh1 | Nick Babcock | 2015-07-10 | 1 | -125/+248 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGES.txt conf.py index.rst setup.py simplejson/__init__.py simplejson/_speedups.c simplejson/encoder.py simplejson/tests/test_tuple.py | ||||
| * | fix typo in e18cc09v3.7.3 | Bob Ippolito | 2015-05-31 | 1 | -1/+1 |
| | | |||||
| * | attempt to work around an issue with reloading the Decimal modulev3.7.2 | Bob Ippolito | 2015-05-22 | 1 | -4/+7 |
| | | |||||
| * | no longer trust custom repr for int/long/float subclasses #118v3.7.0 | Bob Ippolito | 2015-05-18 | 1 | -0/+9 |
| | | |||||
| * | consistently reject int_as_string_bitcount <= 0 #96v3.5.1 | Bob Ippolito | 2014-05-22 | 1 | -1/+3 |
| | | |||||
| * | clean up #96 and prep for v3.5.0 release | Bob Ippolito | 2014-05-21 | 1 | -5/+3 |
| | | |||||
| * | Adding `int_as_string_bitcount` option | Colin Deasy | 2014-05-14 | 1 | -24/+44 |
| | | |||||
| * | ignore_nan #63ecma-262-63 | Bob Ippolito | 2013-05-01 | 1 | -4/+12 |
| | | |||||
| * | make argument order for c_make_encoder match make_iterencode | Bob Ippolito | 2013-05-01 | 1 | -2/+2 |
| | | |||||
| * | Implement for_json kwarg; pure Python version; add tests; update documentation. | shakefu | 2013-04-17 | 1 | -28/+46 |
| | | |||||
| * | Updated documentation to reflect separators behavior when indent is not None ↵ | Bob Ippolito | 2013-02-22 | 1 | -3/+4 |
| | | | | | | | | (#59) | ||||
| * | v3.0.6, fixes ensure_ascii=False regression (#50)v3.0.6 | Bob Ippolito | 2013-01-11 | 1 | -1/+4 |
| | | |||||
| * | clean up skipkeys/stringification in C API | Bob Ippolito | 2012-12-30 | 1 | -0/+1 |
| | | |||||
| * | more coverage, decimal key coercion | Bob Ippolito | 2012-12-29 | 1 | -1/+3 |
| | | |||||
| * | First pass at Python 3.3 compatibility | Bob Ippolito | 2012-12-28 | 1 | -55/+83 |
| | | | | | | | | First pass at Python 3.3 compatibility, bump to 3.0.0 | ||||
| * | Support for use_decimal=True in sub-interpretersv2.5.1 | Bob Ippolito | 2012-05-10 | 1 | -2/+4 |
| | | |||||
| * | bump version to 2.5.0, add docs for item_sort_key | Bob Ippolito | 2012-03-29 | 1 | -0/+2 |
| | | |||||
| * | Added item_sort_key | Scott Maxwell | 2012-03-20 | 1 | -5/+14 |
| | | | | | | | | Allows sorting by aspects of the key/value pair. | ||||
| * | fix edge cases and pre-2.7 compatibility | Bob Ippolito | 2012-03-06 | 1 | -6/+18 |
| | | |||||
| * | Finalized bigint_as_string feature | Scott Maxwell | 2012-03-02 | 1 | -10/+10 |
| | | | | | | | | | | | | | | Renamed javascript_safe_ints to bigint_as_string to match the similar parameter in PHP. Added unit tests. Fixed boundary of the bigint range. Added bigint_as_string to default encoder test. | ||||
| * | Changed limits from 2^54 to 2^53 | Scott Maxwell | 2012-03-01 | 1 | -5/+5 |
| | | |||||
| * | Added javascript_safe_ints support | Scott Maxwell | 2012-03-01 | 1 | -7/+12 |
| | | | | | | | | Javascript cannot display integers of 2^54 or higher without loss of precision. This option will put numbers of 2^54 and higher or -2^54 and lower into quotes. | ||||
| * | bump to 2.3.3 and clean up indent codev2.3.3 | Bob Ippolito | 2012-02-27 | 1 | -3/+1 |
| | | |||||
| * | Documentation and a test for the previous commit | Keshav Kini | 2012-02-28 | 1 | -1/+1 |
| | | |||||
| * | Allow unknown numerical types for indent parameter | Keshav Kini | 2012-02-25 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | This was causing failures in software which passes objects which are neither of type str, int, or long, but rather a custom numerical class, as the value of the indent parameter. Since this custom numerical class understands multiplication by strings, it should be accepted by simplejson's encoder and treated as a numerical argument. | ||||
| * | callable check for _asdict with namedtuple_as_objectdict-subclass-gh26 | Bob Ippolito | 2011-12-29 | 1 | -38/+44 |
| | | |||||
| * | Removed isinstance() check for namedtuple_as_object | David Baumgold | 2011-11-10 | 1 | -7/+4 |
| | | | | | | | | | | | | | | | | Using isinstance() is not Pythonic and should be avoided when possible. By using duck-typing instead, we can easily support other objects that do not inherit from tuple but still support the same API as namedtuple, such as objects created using the `recordtype` library: http://pypi.python.org/pypi/recordtype | ||||
* | | 2.3.0 and iterable_as_array encoding optioniterable_as_array-gh1 | Bob Ippolito | 2011-09-04 | 1 | -4/+24 |
|/ | |||||
* | 2.2.0 - namedtuple_as_object and tuple_as_array options, use_decimal now ↵namedtuple-object-gh6 | Bob Ippolito | 2011-09-04 | 1 | -7/+36 |
| | | | | True on encoding | ||||
* | update docs with namedtuple encoding to JSON object | Bob Ippolito | 2011-09-03 | 1 | -1/+1 |
| | |||||
* | Force unicode linebreak characters to be escaped (U+2028 and U+2029) | Bob Ippolito | 2011-05-15 | 1 | -1/+3 |
| | |||||
* | Trailing whitespace after commas no longer emitted when indent is used | Bob Ippolito | 2011-04-12 | 1 | -0/+2 |
| | |||||
* | http://code.google.com/p/simplejson/issues/detail?id=86 | Bob Ippolito | 2010-11-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@240 a4795897-2c25-0410-b006-0d3caba88fa1 | ||||
* | http://bugs.python.org/issue10019 | Bob Ippolito | 2010-10-08 | 1 | -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=34 | Bob Ippolito | 2010-03-08 | 1 | -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=66 | Bob Ippolito | 2009-12-27 | 1 | -0/+28 |
| | | | | git-svn-id: http://simplejson.googlecode.com/svn/trunk@202 a4795897-2c25-0410-b006-0d3caba88fa1 | ||||
* | encoding memoization | Bob Ippolito | 2009-12-27 | 1 | -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 string | Bob Ippolito | 2009-05-17 | 1 | -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 Ippolito | 2009-05-17 | 1 | -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=48 | Bob Ippolito | 2009-04-14 | 1 | -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#newcode31 | Bob Ippolito | 2009-02-28 | 1 | -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 easier | Bob Ippolito | 2009-02-22 | 1 | -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 easier | Bob Ippolito | 2009-02-16 | 1 | -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 easier | Bob Ippolito | 2009-02-16 | 1 | -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 Ippolito | 2009-02-16 | 1 | -7/+7 |
| | | | | | | checks exactly for True and False git-svn-id: http://simplejson.googlecode.com/svn/trunk@164 a4795897-2c25-0410-b006-0d3caba88fa1 |