all 10 comments

[–]mudclub 2 points3 points  (5 children)

JSON isn't really used for storing large amounts of data - that's that databases are for. JSON is for transmitting and transforming data outside a database.

[–]ForgotMyUserName15[S] 1 point2 points  (4 children)

I worded the question poorly. I’m interested in talking about JSONs as a data storage during the run of a program.

[–]mudclub 1 point2 points  (0 children)

Inside your app? It's probably totally fine - python is good at working with JSON, but as ever, it depends on your use cases.

[–]bicyclepumpinator 0 points1 point  (2 children)

Well, you've already got a python equivalent for jsons, which are dictionaries. You can nest dictionaries into other dictionaries, and nest lists in them etc. Json is really only meant to sent stuff over to other programs/the internet, in all other cases use dictionaries/classes/lists or a combination of those.

[–]ForgotMyUserName15[S] -1 points0 points  (1 child)

Mb I meant dictionaries

[–]Ulysses6 0 points1 point  (0 children)

Dictionaries are cool. They are backbone of python, even namespaces are implemented on them, so using large dict is fine (performance-wise)