Intro to JSON and Jackson's ObjectMapper | Parse JSON in Java | Convert Object to JSON | Geekific
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
Best Geek channel I ever found in history of CZcams, looking forward for more videos!!!
Thank you for you work!
Really short and clear explanations!
Great topic and explanation, thank you! Looking forward for the following videos.
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?
Great Idea! Will add it to my list of upcoming videos :)
thanks a lot bro!!! i'm searching for this video for so long. ❤❤
Glad I could help
Ty for your work. It's super herpful. Keep it up!
Thank you :) Will do!
did not understand at 2:05, how the Map () gets mapped here as key should ve unique in map. pls explain.
The keys are the strings: "id", "name" and "age", they are unique. I am not sure I got your question.
3:44 the lowest line:
Guess you missed to save the returned reference to list: how will you access that list of BankAccount objects?🤔
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!
@@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:))
4:08
"the json string has some new field..."
No, the class may have new field:)