Python Examples: A Comparison of Reading Two Slightly Different JSON Files

preview_player
Показать описание
In this video we look at two Python program each reading a JSON file with overall the same content but organized/structured slightly differently. The first program reads a JSON file that starts off with a curly bracket indicating that the initial structure is a dictionary. That dictionary then has a property with a value that is a list of (sub)dictionaries. The second program reads a JSON file that starts with a square bracket, that is, it starts with a list -- in this case a list of dictionaries.
Рекомендации по теме
Комментарии
Автор

Great explanation, thank you. DeltaJSON is really useful for developer working with JSON, it does compare, merge and graft.

markthomas
welcome to shbcf.ru