Intro to JSON and Jackson's ObjectMapper | Parse JSON in Java | Convert Object to JSON | Geekific

Sdílet
Vložit
  • čas přidán 7. 07. 2024
  • Support us on Patreon: / geekific
    GitHub Repository: github.com/geekific-official/...
    Stay updated on our videos by subscribing to the channel and hitting the like button!
    If you’re into coding, and no matter what language you’re using, you most definitely have handled a couple JSON files here and there. And if you’re a Java developer specifically, you most probably have made use of the Jackson library, which is today's subject. In this video, we detail Jackson's ObjectMapper, how to convert a Java Object into a JSON string and vice versa, how to parse a JSON string into a Java object.
    Timestamps:
    00:00 Introduction
    00:30 What is JSON?
    02:08 Jackson’s Object Mapper Explained
    04:00 Jackson’s Customizations
    06:20 Recap
    06:50 Thanks for Watching!
    If you found this video helpful, check other Geekific uploads:
    - Object-Oriented Programming Fundamentals: • What is Object-Oriente...
    - SOLID Principles and Best Practices: • SOLID Design Principle...
    - Recursion Made Simple, Recursive Methods: • What is Recursion? | R...
    - Use-Case and Sequence Diagrams: • UML Use-Case and Seque...
    - Project Lombok Annotations Explained: • Project Lombok Annotat...
    - Trees Compared and Visualized, BST vs AVL vs Red-Black vs Splay vs Heaps: • Trees Compared and Vis...
    - Dijkstra's Algorithm Explained and Implemented in Java: • Shortest Path | Dijkst...
    - Ford-Fulkerson Algorithm Explained and Implemented in Java: • Max Flow | Ford-Fulker...
    - Generics and Wildcards in Java, Invariance vs Covariance vs Contravariance: • Generics and Wildcards...
    - Kruskal's Algorithm Explained and Implemented in Java: • Create Minimum Spannin...
    - Prim's Algorithm Explained and Implemented in Java: • Minimum Cost Spanning ...
    #Geekific #Jackson #JSON #ObjectMapper #Java

Komentáře • 15

  • @manoj.suthar
    @manoj.suthar Před rokem +2

    Best Geek channel I ever found in history of CZcams, looking forward for more videos!!!

  • @denzel7089
    @denzel7089 Před rokem

    Thank you for you work!
    Really short and clear explanations!

  • @svalyavasvalyava9867
    @svalyavasvalyava9867 Před rokem

    Great topic and explanation, thank you! Looking forward for the following videos.

    • @svalyavasvalyava9867
      @svalyavasvalyava9867 Před rokem +2

      I have also thought, that it might be a good idea to (maybe briefly, but still) touch the topic of XML in a similar way. Even though today JSON is widely used, it might be very useful for some developers. What is your opinion?

    • @geekific
      @geekific  Před rokem +1

      Great Idea! Will add it to my list of upcoming videos :)

  • @saranraj6114
    @saranraj6114 Před rokem

    thanks a lot bro!!! i'm searching for this video for so long. ❤❤

  • @user-lu3hg2ml2v
    @user-lu3hg2ml2v Před rokem

    Ty for your work. It's super herpful. Keep it up!

  • @TechOnScreen
    @TechOnScreen Před rokem

    did not understand at 2:05, how the Map () gets mapped here as key should ve unique in map. pls explain.

    • @geekific
      @geekific  Před rokem

      The keys are the strings: "id", "name" and "age", they are unique. I am not sure I got your question.

  • @manOfPlanetEarth
    @manOfPlanetEarth Před rokem +1

    3:44 the lowest line:
    Guess you missed to save the returned reference to list: how will you access that list of BankAccount objects?🤔

    • @geekific
      @geekific  Před rokem +1

      Actually this one was intentional xD I didn't have enough space on the slide to make it look easy to read, and all I cared about was showing ppl how it is done!

    • @manOfPlanetEarth
      @manOfPlanetEarth Před rokem

      @@geekific
      Clear. Thanks for explanation!:)
      Let these comments be a small remind to watchers that ref to list is returned but the stress was on how it works:))

  • @manOfPlanetEarth
    @manOfPlanetEarth Před rokem +1

    4:08
    "the json string has some new field..."
    No, the class may have new field:)