Python Standard Library: JSON

preview_player
Показать описание
This video covers the tools you need to know from the json module. There are a number of subjects covered in this video, so here are some timestamps for each major section.

00:28 - intro
02:58 - dumping
06:09 - loading
08:05 - encoding
11:09 - decoding
13:41 - self serializing
15:18 - json tool cli

Intro music: Rich in the 80s - DivKid
Рекомендации по теме
Комментарии
Автор

What are some ways that you've used JSON in Python?
Have you used the CLI tool I showed in the last section of the video?

JakeCallahan
Автор

The last technique is genius! No matter how easy or accessible the topic is, every time I watch your video - I always go out learning something new.

DiptonilRoy
Автор

What a great video! I don't know how you don't have more views. It's a crime!

dragonkat
Автор

really great explanation! Thank You, Jake!

dukex
Автор

By the way, I do not know if you have ever covered it or not, but I would love to see your technique of designing and implementing custom exceptions for a general application (that is fairly complex and huge). How do you handle their respective logs? How do you decide what information to expose to the clients using the application as logs (may be in the terminal or a separate log file) and what to send to a more dev-centric log file (if any)? How do you tackle exceptions arising due to another exception in logs? Also, (this is more opinionated, I suppose) do you find the use of things like Liskov's Substitutions within Exceptions reasonable (and why)?

DiptonilRoy