The Python Oracle

Pickle or json?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Darkness Approaches Looping

--

Chapters
00:00 Question
00:31 Accepted answer (Score 92)
01:01 Answer 2 (Score 128)
01:33 Answer 3 (Score 51)
01:47 Answer 4 (Score 30)
03:23 Thank you

--

Full question
https://stackoverflow.com/questions/2259...

Accepted answer links:
[cPickle]: https://docs.python.org/2/library/pickle...

Answer 3 links:
http://kovshenin.com/archives/pickle-vs-.../

Answer 4 links:
[protocol 2]: https://docs.python.org/2/library/pickle...
[this gist]: https://gist.github.com/jdimatteo/af317e...
[Konstantin's benchmark]: https://konstantin.blog/2010/pickle-vs-j.../
[Python 3.4 with pickle protocol 3 is even faster.]: https://stackoverflow.com/a/26860404/100...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #json #pickle

#avk47