Python Tutorial – 14. Working With JSON

///Python Tutorial – 14. Working With JSON

Python Tutorial – 14. Working With JSON

FavoriteLoadingAdd to favorites

Video without background music:

Learn how to deal with JSON objects in python. JSON (Javascript Object Notation) is a data exchange format (like XML) but it is much light weight.

Visit my website for complete list of programming tutorials.
Link for code:
Website:
Facebook:
Twitter:
Patreon:

source

By |2019-10-01T23:07:09+00:00October 1st, 2019|Python Video Tutorials|32 Comments

32 Comments

  1. codebasics October 1, 2019 at 11:07 pm - Reply

    Video without background music: https://youtu.be/FNExLliAnZw

  2. Dan Walker October 1, 2019 at 11:07 pm - Reply

    How would you add an additional key value to one of the entries? Or update one of one?

  3. Diego Gomes October 1, 2019 at 11:07 pm - Reply

    I love your channel

  4. Siavash Karami October 1, 2019 at 11:07 pm - Reply

    thanks for video. excellent

  5. sham tupe October 1, 2019 at 11:07 pm - Reply

    very clear explanation.good work.,👍👍

  6. king ayub October 1, 2019 at 11:07 pm - Reply

    watch with 1.25 speed it's much better

  7. Karl Duckett October 1, 2019 at 11:07 pm - Reply

    Thanks! +1

  8. Ryan kenneth Cabrera October 1, 2019 at 11:07 pm - Reply

    Thankyou!!!!!

  9. indi chad October 1, 2019 at 11:07 pm - Reply

    What would be the efficient way of merging thousands of Jason files?

  10. Martin Kaspar October 1, 2019 at 11:07 pm - Reply

    Please keep uploading more Intermediate and Advanced level of Python tutorial. (Don't bother with beginner level though).

  11. Martin Kaspar October 1, 2019 at 11:07 pm - Reply

    dear buddy – can i add the json data to a database – is this possible!?= That would be great! . love to hear from you – greetings martin

  12. baigaiz112 October 1, 2019 at 11:07 pm - Reply

    print(f'{bobs} and {vegana})

  13. Shiva Teja October 1, 2019 at 11:07 pm - Reply

    Please explain how to write and save txt file.

  14. Dhiraj Chakraborty October 1, 2019 at 11:07 pm - Reply

    In the json file name is first attribute and address is the 2nd one. But when you print that json file address printed before name. There is a sequence mismatch. Can anyone pls explain why this happened?

  15. Panerakis October 1, 2019 at 11:07 pm - Reply

    Thanks a lot for the explanation 🙂

  16. David Gonzalez October 1, 2019 at 11:07 pm - Reply

    You are my favourite teacher. Thank you for such a simple explanation

  17. Diptangshu Banik October 1, 2019 at 11:07 pm - Reply

    Hello,
    I am using the following code but getting a strange output when returning through an API.
    def listToJSON(values):
    for val in values:
    c = {}
    c["ClaimID"]= str(val[1])
    c["Claim_Date"] = str(val[2])
    c["Status"] = str(val[3])
    c["Comments"] = str(val[4])
    c["ProviderID"] = str(val[5])
    c["Address"] = str(val[6])
    return json.dumps(c, ensure_ascii=False)

    Return value –
    "{"ClaimID": "123456", "Status": "Processing", "Address": "123 street, boston", "Claim_Date": "7/3/2018", "Comments": "Check the place", "ProviderID": "12322222"}"

    Question – How to get rid of that character? I believe that this will ruin my code. Any suggestions?

  18. Tony Schleich October 1, 2019 at 11:07 pm - Reply

    Great!!!!, very easy to understand

  19. David Bristoll October 1, 2019 at 11:07 pm - Reply

    I've watched a few videos relating to this and APIs and this one made a lot of things fall into place. You explained everything very clearly and your choice of examples was perfect. Thanks and well done!

  20. abdul sattar October 1, 2019 at 11:07 pm - Reply

    can you please tell which video editing software you used?

  21. uncle sam October 1, 2019 at 11:07 pm - Reply

    Great tutorial dude!

  22. sai prasanna October 1, 2019 at 11:07 pm - Reply

    Thank you ..Nice Explanation

  23. Alex D. October 1, 2019 at 11:07 pm - Reply

    Great video! Thanks a lot!

  24. Martin Kaspar October 1, 2019 at 11:07 pm - Reply

    hello dear – relly a overwhelming tutorial – i like it very much.
    can you create a tutorial covering the topics python urllib urlparse
    with some python urllib.parse example; love to hear from you – martin

  25. Jon Kim October 1, 2019 at 11:07 pm - Reply

    how would you print all the addresses in the json object? at the very end, you showed how to print all the entries, but what if i want just addresses of all the entries in the for loop?

  26. Martin Kaspar October 1, 2019 at 11:07 pm - Reply

    overwhelmingf – just breathtaking – i love this tutorial – you are one of the best for beginners! thanks for the clean explanation. I am a fan of this video!!

  27. Kea Bird October 1, 2019 at 11:07 pm - Reply

    Finally found what I need … Excellent tutorial … Thanks

  28. Fedora October 1, 2019 at 11:07 pm - Reply

    Thank you, this helped a lot.

  29. Bertrahm October 1, 2019 at 11:07 pm - Reply

    I really like your tutorials, keep it up! But theres one problem, I don't get only the string out of my JSON file i get the entire JSON file out…

  30. Punit Kanojia. October 1, 2019 at 11:07 pm - Reply

    beautifully explained.Thank you

  31. star hopper October 1, 2019 at 11:07 pm - Reply

    dude, you're the best. thank you for making all these tutorials!!!

  32. unknown identity October 1, 2019 at 11:07 pm - Reply

    Question:
    Can I read and write data(dictionary) in json file(e.g abc.json) ?

Leave A Comment

*