✅ Working With Json
this current code creates a json file that looks simply like
however I want to add two new values to it so that it looks like
but I'm not sure how to edit the current code. Thanks
5 Replies
Do I need to create a second dictionary?
i don't recommend using a dictionary, define a class that holds your data and serialize that
so like a model?
like
like that?
yep
bet tyvm