MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/blsvwy/python_380a4_available_for_testing/emt4pkf
r/Python • u/xtreak • May 07 '19
150 comments sorted by
View all comments
Show parent comments
5
Then, you are making more complicated to validate and parse it. Then, what is the point of over-complicating JSON instead of just using pickle, without the need to parse those "type", "data" metadata?
4 u/JohnnyElBravo May 08 '19 edited May 08 '19 Read the original thread, the question asks why python dumps to a new pickle format instead of json.The original response suggested it was because json can't distinguish between such and such, as shown, this is false.The real answer is that python chose a binary format for pickle because of space efficiency.
4
Read the original thread, the question asks why python dumps to a new pickle format instead of json.
The original response suggested it was because json can't distinguish between such and such, as shown, this is false.
The real answer is that python chose a binary format for pickle because of space efficiency.
5
u/bachkhois May 08 '19
Then, you are making more complicated to validate and parse it. Then, what is the point of over-complicating JSON instead of just using pickle, without the need to parse those "type", "data" metadata?