Seth Michael Larson and Seth Michael Larson
cde2a53468
[7.x] Switch to MutableMapping for headers/params
2020-09-28 15:49:14 -05:00
Seth Michael Larson and Seth Michael Larson
6daa14315a
[7.x] Add typing metadata and manual types to package
2020-09-28 15:49:14 -05:00
Seth Michael Larson and GitHub
b13c7c6217
[7.x] Switch to long Apache-2.0 license header
2020-07-02 13:15:25 -05:00
Seth Michael Larson and GitHub
084295787d
[7.x] Serialize only 'pd.NA' to 'None'
2020-06-29 10:10:05 -05:00
Seth Michael Larson and Seth Michael Larson
8e1798cf31
Apply license header changes and API gen
2020-04-23 14:10:49 -05:00
Seth Michael Larson and GitHub
606287f041
[7.x] Support serializing numpy and pandas types
2020-03-30 13:02:18 -05:00
Nick Lang and GitHub
206f5e2754
Black ( #948 )
2019-05-10 09:16:33 -06:00
michaelboulton and Nick Lang
c3544296ef
Use string.partition rather than string.split for mimetype ( #731 )
2018-03-04 15:22:23 -08:00
Illia Volochii and Honza Král
43ddb3d56b
Dump as minified JSON as possible in its serializer ( #658 )
2018-01-01 16:08:38 +01:00
Honza Král
c305dc5587
Don't force ascii when serializing to json
2015-12-13 20:30:28 -08:00
Alexei Peters and Honza Král
b792be3652
add the ability to serialize uuid types
2015-12-13 19:08:55 -08:00
Aarni Koskela and Honza Král
00b6212212
Be more informative when unable to JSON serialize
2014-08-03 13:24:12 +02:00
Andrew Snare and Honza Král
4d37a54c95
Use simplejson if present instead of the stdlib json module.
...
The simplejson parser drop-in compatible with the builtin python JSON
parser, but much faster. In particular, this makes operations like
reindexing quicker.
2014-06-25 10:21:36 +02:00
Honza Král
a54d7035bb
Compatibility with python 3.2
...
Now all the python 2/3 compatibility code is in elasticsearch.compat
Fixes #52
2014-02-21 16:59:13 +01:00
Honza Král
05c4eefbf3
Enable deserialization of different content types coming from the server.
2013-12-14 18:15:15 +01:00
Honza Král
95fba05e02
Fix unicode body handling.
...
Only body should be encoded as bytes, not anything going through the
serializer (mostly because of bulk)
2013-12-04 15:07:56 +01:00
Honza Král
4420296636
For string body make sure we serialize unicode properly
2013-12-04 13:22:33 +01:00
Honza Král
73f170f23f
Decimal support
...
Currently only converting to floats which may lose some precision.
Not recommended in 2.6 where float to string serialization is sub-optimal
2013-10-22 00:26:58 +02:00
Honza Kral
d8cbe1ac78
More power to the SerializationError
2013-07-30 15:05:46 +02:00
Honza Kral
ba98e13da7
Don't serialize stings
2013-06-20 14:07:09 +02:00
Honza Kral
4c74c6911c
Serialization error tests
2013-05-03 17:56:27 +02:00
Honza Kral
6aad2599d7
Adding JSONSerializer
2013-05-02 23:42:11 +02:00