POJO to JSON/XML | JSON/XML to POJO | Serialization | DeSerialization using Juneau Library

  Рет қаралды 33,161

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

In this video, I have explained how to convert POJO to JSON/XML | JSON/XML to POJO - Serialization and DeSerialization using Juneau Library.
POJO to JSON/XML |
JSON/XML to POJO |
Serialization |
DeSerialization
using Juneau Library
GIT Repo:
github.com/nav...
API doc for Juneau:
juneau.apache.o...
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
www.youtube.co...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
t.me/joinchat/...
Naveen AutomationLabs Paid Courses:
Java & Selenium:
naveenautomatio...
Java & API +POSTMAN + RestAssured + HttpClient:
naveenautomatio...

Пікірлер: 34
@chad-thuggins
@chad-thuggins 2 жыл бұрын
Superb. We were using websites to convert Json to Pojo but cybersecurity team blocked the websites and we had to type everything Cant wait to try this out on Monday.
@rakeshkumarpanda1693
@rakeshkumarpanda1693 3 жыл бұрын
Hi Naveen... It's really nice for uploading interesting contents. I've a question here. While creating the pojo for product u created setters which generally sets a specific value and a parameterized constructor with all the fields. Is there any specific reason for that? It would be great if u can share the reason 😊
@prasannaprasy950
@prasannaprasy950 3 жыл бұрын
Yesterday itself i was learning Json To Pojo class..Already the video is out 😀
@naveenautomationlabs
@naveenautomationlabs 3 жыл бұрын
check this library, its easy and quick.
@anneydigvijay1523
@anneydigvijay1523 3 жыл бұрын
Thank you for making this video,I was waiting eagerly
@b3creativevlogs815
@b3creativevlogs815 3 жыл бұрын
Hi Naveen, Just one suggestion I think it would better that if you make one video on asserting expected and actual values using pojos. It may helpful for so many ppls ..
@sleepymenon
@sleepymenon 3 жыл бұрын
Very helpful and well explained. Thank you
@naveenautomationlabs
@naveenautomationlabs 3 жыл бұрын
Glad it was helpful!
@shivanshikakashyap1856
@shivanshikakashyap1856 3 жыл бұрын
Very nicely explained
@saleemanarkali7762
@saleemanarkali7762 3 жыл бұрын
Tq tqsm tqs a lot Naveen 🙌🙌🙌
@kamaljitxSingh
@kamaljitxSingh 3 жыл бұрын
Good topic
@chad-thuggins
@chad-thuggins 2 жыл бұрын
Awesome video...Love ur content
@anitsarker4591
@anitsarker4591 3 жыл бұрын
Awesome
@e.ch.vidyasagarkorada8937
@e.ch.vidyasagarkorada8937 3 жыл бұрын
Thank you fr this tutorial helps lot
@ABAutomationHub
@ABAutomationHub 2 жыл бұрын
Thanks for making video on this.. This is really very helpful!
@naveenautomationlabs
@naveenautomationlabs 2 жыл бұрын
Glad that you liked it.
@soumyaawati3655
@soumyaawati3655 3 жыл бұрын
hi sir i am soumya and i completed Msc in computer science(2014). i started career in teaching for primary student ..... but now I am planning shift to automation testing i.e java with selenium.... plz can u guide
@priteshkhambekar
@priteshkhambekar 2 жыл бұрын
Superb 👌🏻
@abhay6276
@abhay6276 2 жыл бұрын
Where is URL...from where you post or retrieve json object....can anyone tell me please
@ack377
@ack377 2 жыл бұрын
Hello Naveen, thanks for sharing the tutorial. I had one question regarding the usage of this library. I noticed the request Json serialized from the pojo class is not setup according to the order mentioned in the pojo class. Lets say we have a requirement that Json order should not be altered , is there any way we can achieve that result using juneau library? However , this issue was not observed while using the Gson or Jackson library.
@amberbhatnagar3008
@amberbhatnagar3008 2 жыл бұрын
Hi Naveen, how are we handling headers and authentication while using pojo classes?
@souvikchatterjee7400
@souvikchatterjee7400 3 жыл бұрын
If we have nested json like say Sellernames jsonarray had other json objects as array elements. In that case we have to create POJO class for those objects and pass it to serialize method right?
@MrKameswari
@MrKameswari 3 жыл бұрын
How to ignore fields while parsing person pojo class means from the person class if i want to allow only name and price what is the specification should be provided.Thanks in advance
@nsulaiman23
@nsulaiman23 Жыл бұрын
I have a long json file. For the BeanC annotations do i have to set each property name or will it default automatically?
@chinmyeemalik6779
@chinmyeemalik6779 3 жыл бұрын
I was checking this from last 3 days but stuck with validation from XML format Is there any way to validate data from XML
@i.am.sameer
@i.am.sameer 3 жыл бұрын
What is the difference between Marshaling and Serialization?
@iAmMeMyself
@iAmMeMyself 2 жыл бұрын
Can we have arraylist in POJO class?
@anandsubhash5088
@anandsubhash5088 3 жыл бұрын
@Navven Have a doubt like if my JSON object is having 3 attributes but my POJO class is having only 2 attributes soo when iam deserialising will it throw an error or will it just pass the testcase??
@testautomation6742
@testautomation6742 3 жыл бұрын
You don't need to look payload has a lot attributes and not need to use serialize or de. Simply use String Manipulation with replace method. You can store all of them in final file then call this file as body. if you are QA and not a API developer.
@praveenjairaj9301
@praveenjairaj9301 3 жыл бұрын
Hi Naveen sir plz make a video on groovy script
@AratiKhandelwal
@AratiKhandelwal 2 жыл бұрын
How to deserialize the Soap Xml to POJO using juneau sir?? please help
@chad-thuggins
@chad-thuggins 2 жыл бұрын
There is no direct way. What we have implemented in our project is to get SOAP Xml response and remove the namespaces using regular expression and replaced those with empty string "". Then use this XML and convert to POJO
@mohamedsulaimaansheriff9787
@mohamedsulaimaansheriff9787 3 жыл бұрын
Naveen GSON is better than this. No constructor argument and annotation
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 63 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 16 МЛН
Part 6 - POST CALL with POJO Class || Playwright Java API Automation
27:04
Naveen AutomationLabs
Рет қаралды 3,8 М.
What is API Gateway? || Naveen AutomationLabs
40:20
Naveen AutomationLabs
Рет қаралды 29 М.
Serialize and Deserialize JSON using Jackson
35:51
The Life Code
Рет қаралды 7 М.
What is OAuth2? How does OAuth2 work? | Naveen AutomationLabs
19:56
Naveen AutomationLabs
Рет қаралды 70 М.
Serialization  and De-Serialization in Java | Pradeep Nailwal
12:49
Lets Make Automation Easy - Pradeep Nailwal
Рет қаралды 31 М.