1
0
Fork 0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-05-29 02:26:09 +02:00
Commit Graph

921 Commits

Author SHA1 Message Date
Jonas Tärnström ba101aca76 Update README 2012-01-27 13:08:59 +01:00
Jonas Trnstrm ce5ac1e5dc Reverted markdown README with completly incorrect benchmark values 2012-01-27 11:06:56 +01:00
Carl Byström 1a3afc64ce Added more content to README and reformatted to Markdown syntax 2012-01-25 17:20:00 +01:00
Jonas Tärnström 662edfe078 Merge pull request #34 from mikeyk/master
Adds keyword argument specifying double precision
2012-01-19 07:11:24 -08:00
Mike Krieger 6b89292e5e Allow a kwarg to be passed in specifying the double precision 2012-01-03 16:33:34 -08:00
Mike Krieger 72088a10de Enable building without requiring copying 2012-01-03 15:26:25 -08:00
Jonas Tarnstrom cde9aaeccb Fixed toDict() not working issue, added test 2011-12-21 11:53:03 +01:00
Jonas Tarnstrom 3c45be7241 Fixed toDict() not working issue, added test 2011-12-21 11:52:54 +01:00
Jonas Tarnstrom 49fe30364d Unintentional change 2011-12-14 16:29:21 +01:00
Jonas Tarnstrom b243a4a0d7 Fixed long forgotten memory leak in file object handling code for Python 2011-12-14 16:28:41 +01:00
Jonas Tarnstrom 0ddd990e24 Added support for encoding and escaping NULL (U+0000) as \\u0000 2011-12-14 16:19:29 +01:00
Jonas Tarnstrom 3ecf8e9b0b Added support for encoding and escaping NULL (U+0000) as \\u0000 2011-12-14 16:02:49 +01:00
Jonas Tarnstrom 408e38cd8f Bumped version 2011-12-14 15:26:05 +01:00
Jonas Tarnstrom 21c5a1c749 Added support for escaping front slash 2011-12-14 15:25:41 +01:00
Jonas Tarnstrom dfb797d8bf Merge remote branch 'wmark/master' 2011-12-14 15:16:39 +01:00
Jonas Tarnstrom e35efaea85 Added support for decoding from a Unicode input string through conversion 2011-12-14 14:50:27 +01:00
Jonas Tarnstrom 6cd4ba528a Changes to msvc9 project file 2011-12-14 14:34:58 +01:00
Jonas Tärnström b97b0c96b4 Update python/version.h 2011-12-08 15:16:21 +00:00
Jonas Tärnström e17c53ee62 Merge pull request #24 from jmoiron/master
this fixes a decoding error with ints between 2**31 & 2**32
2011-12-08 07:15:50 -08:00
Jason Moiron 1beaeb69c4 add better tests around the bounds of the problem 2011-12-06 05:53:19 -05:00
Jason Moiron 5fa6d7be25 add a test to check for the sign bit bug in ujson 1.9 2011-12-06 05:46:17 -05:00
Jason Moiron 506f789add fix an issue where loading numbers between 2**31 and 2**32 became negative signed values rather than the right value (for instance, try ujson.loads('{"id":3590016419}') and you will get {u'id': -704950877}) 2011-12-05 17:29:18 -05:00
W-Mark Kubacki a016e4c7fd Escaping of forward slashes has been enabled. Otherwise tools such as Anzu or Tornado have to do it on their own - which hurts performance. 2011-11-21 22:43:12 +01:00
Jonas Tarnstrom 824a42bf8c - Added support for detecting overflow scenario when a PyLong bigger than 64-bits signed is supposed to be converted to such. Now a proper Python exception is thrown
- Bumped version

- Encoder now uses JT_INVALID from client implementation to abort encoder
2011-09-19 17:30:35 +02:00
Jonas Tarnstrom 028279a1bb - Language fixes to some comments 2011-09-13 08:47:23 +02:00
Jonas Tarnstrom daf0fde4c9 - Fixed issue with parsing kwargs
- Fixed test for ensure_ascii
- Bumped version
- Fixed / decoding issue in lookup tables
2011-09-09 17:13:31 +02:00
Jonas Tarnstrom 0e940b15e0 - Got rid of function pointer, use if statement instead 2011-09-09 16:11:45 +02:00
Jonas Tarnstrom e962ae68e2 - Added forceAscii option to encoder to control if output is forced to be ascii (<128) or not.
- Added ensure_ascii kwargs to encode/dumps (true is default). Use ensure_ascii=false to allow UTF_8 strings to be outputted, should be faster and more space efficient.

- Bumped version
2011-09-09 16:00:23 +02:00
Jonas Tarnstrom 6738e59af1 - Fixed PyPi builds and added instructions for it 2011-08-17 09:05:58 +02:00
Jonas Tarnstrom 25b906f420 - Fixed pathes in setup.py 2011-08-17 08:57:44 +02:00
Jonas Tarnstrom 94da0f60da - Bumped version 2011-08-16 15:26:08 +02:00
Jonas Tärnström 0727c596c0 Merge pull request #22 from dahlia/master
Small bug fix for ujson.__version__
2011-08-16 06:24:24 -07:00
Hong Minhee 8a82566fd3 setup.py seemed broken because it missed version.h file, but now resolved. 2011-08-16 09:21:08 -04:00
Jonas Tärnström 8a851b423a Merge pull request #21 from dahlia/2c4cb365796edda966a98e18c15c271b88b3644f
Added ujson.__version__ string
2011-08-16 06:08:01 -07:00
Hong Minhee 482aa99fd0 version 1.5 2011-08-16 08:55:57 -04:00
Hong Minhee ca018d30ae Merge git://github.com/jskorpan/ultrajson
Conflicts:
	python/setup.py
2011-08-16 08:55:32 -04:00
Jonas Tarnstrom 29152a219d - Removed prebuilt win32 library
- Precompilation of ujson.lib no longer needed when building for Python (Python distutils (setup.py) takes care of it)
- Updated README instructions to reflect that
- Minor performance optimization
2011-08-16 14:31:24 +02:00
Hong Minhee 122c32ef65 Merge https://github.com/jskorpan/ultrajson 2011-08-16 08:08:06 -04:00
Hong Minhee 2c4cb36579 Added `ujson.__version__` string (which is synchronized to setup.py's). #19 2011-08-16 08:07:17 -04:00
Jonas Tärnström 7703c06d52 Merge pull request #20 from dahlia/master
Added dump/load functions that take a file object
2011-08-16 04:50:14 -07:00
Hong Minhee 6dc158775d Hard tab indent. 2011-08-15 23:10:27 -04:00
Hong Minhee 31e8d76b74 Added dump/load functions that take a file object. 2011-08-15 23:08:53 -04:00
Jonas Tärnström 3017d9773f - Added test for encoding Unicode keys with beyond ASCII characters in them 2011-06-16 10:09:33 +02:00
Jonas Tärnström 7a9b93266b Merge pull request #16 from mbra/master
Fix segfault when encoding python unicode dict-keys
2011-06-16 00:55:26 -07:00
Jonas Tärnström 82492033b6 Added contributed Python 2.4 on 32-bit RHEL/CentOS benchmarks 2011-06-07 01:43:52 -07:00
Jonas Tärnström 6a9b4de1d2 Merge pull request #15 from nickva/master
Python 2.4 compatibility
2011-06-07 01:38:53 -07:00
Nick Vatamaniuc c6ad2dd060 Python 2.4 compatibility 2011-06-05 06:16:30 -04:00
Michael van Bracht 4aa6e24d93 convert unicode dict-keys to utf8 strings 2011-05-27 08:09:52 +02:00
Jonas Tärnström bd283e7020 - Fixed X.0 values to be encoded as "X.0" instead of "X" 2011-04-26 21:00:59 +02:00
Jonas Tärnström 9468a8720e - Fixed compilation issue with gcc 2011-04-20 17:56:26 +02:00