Can someone please recommend me a tutorial on python json
library? I am trying to understand how it works.
The tutorial on the Python website is not enough/too short.
Can someone please recommend me a tutorial on python The tutorial on the Python website is not enough/too short. |
|||||||||
|
Try this: Python Module of the Week: json. One interesting point the author makes is to compare the behavior to pickling. It's not a clean analogy but it helps to get your head around it at first. |
|||||||||||||||||
|
I guess this is a common misconception for people who want to work with json hierarchies using python. json, once loaded into python is nothing more than a (perhaps complex) dictionary. A dictionary is a standard data structure in python. You will have to understand this type of structure if you want to work with data structures that were json before you loaded them into python. So rather than searching for how to work with json in python (which is very easy - mainly just load and dump), learn how to work with complicated dicts that contain lists with dicts. |
|||||
|
python standard library can use json file edit. You can try http://docs.python.org/2/library/json.html That will be a good enough to handle json . |
|||
|