What is the way to deserialize JSON and map it to the model class , if the name of the root element of the JSON responses is different and changes based on the query parameter?

like
Posting as :
works at
You are currently posting as works at

Tum batao bhai, 🍎 mein hum kaam nahi karte 🌚

Seriously? That's your question here? Many people will come at you seeing the tag Apple.

I know the answer for java, assuming you are using some standard libraries. But please do Google search this question or find answers on stackoverflow.

Tu dhoondhne ko jamaane mei answer nikla, pata chala ki galat leke tu pata nikla..🤣

Umm use Javascript 😂

.NET 6 only which is open-source
Although very less

like

Use stack overflow

What do you mean by “the root elements of json changes”?
{user : test, email: abc@xyz.com}. Whats the root element here?

I am not sure if any if the libraries like jackson or gson allow this out of the box via config.
But it shouldn’t be too hard to implement your own serializer for this.
You can specify the part to map the first key encountered to your java model attribute.

like

Related Posts

Do we get anything on diwali from optum

What measures has your company taken to minimize losses due to covid?

We were forced to take 6 days leave in April (bovenwettelijk) which was kind of a weird move. I don’t think our bonuses are getting cut this year so if it’s my bonus or 6 days leave I’d gladly take the latter.

smart

What is the variable component at UKG? Do they payout the variable component in full? UKG

like

Anyone have success/experience/stories to share getting someone with mild bipolar disorder insured at a decent rating? Which type of policy, how old was the applicant etc.?

like

Looking for a TPA in Houston. Any recommendations?

like

Anyone found an affordable adjustable standing desk they like? I have an iMac and a laptop is like to be able to fit on it.

like

Anyone got a six figure base as an AE? Hunting around for companies with 6-fig base and similar commission. Seems to be mostly field / enterprise pay.

like

Guesses for salary working at a luxury jewelry store and commission?

like

Anyone working/starting on a side hustle and wants an accountability buddy/cheerleader going into the new year? I’d love one and thought this might be a good place to find one.

like

Is this true? So mck doesn't provide feedback on weakness? Only positive feedback?

Post Photo
likefunny

Does any of the big4 firm allow working remote from Canada/ overseas? Any policies that restrict that?

Does anyone know how the ease or difficulty of moving from business services tax (partnerships, private equity etc) to transfer pricing?

like

What's the work hours for risk assurance

When does RSM find out about promos/bonuses/etc?

like

Anyone working in public making $200k plus that isn’t at the director or partner level? If so what’s your title and what practice do you work in?

like
like

Hi All , I have an offer from CTS BANGALORE . Office location not mentioned in offer letter. Any idea what will be the exact work location in bangalore . Tech : SAP MM. HR WHO HIRED ME IS FROM PUNE HE IS NOT SURE ABOUT BANGALORE LOCATIONS

like

Thoughts on 3-page resume?
I come from a very varied background and can't fit it all on 1 page

like

Can we refer someone in Optum if they are unknown to us and reach out to us on linked in ?
Mostly are freshers who are reaching.
Also is there any limit for number of referrals which we can make

like

Great food recommendations in Madrid? Preferably not super pricy

like

Additional Posts in Tech India

Is MSCI product or service based company?

like

How many fishes here who have got more than 500% hike while switching?

like

How is Salesofrce Mumbai office? is it having free food and onsite gym and games table and lounge as well?

like

Is being a freelance trainer on weekend moonglighting?

Hi These are the openings at Visa .. There are many openings currently..you can browse jobs@visa for this and let me know the job id

I'll be happy to refer..!

Visa

Post Photo
like

We Indians are so poor we can't think anything else except money. Whole Fishbowl is all about YOe and Salary. No one interested about if any company doing any innovation or not. B-Tech colleges put ads with Package and Campusing only. Almost 99% Indian YouTube thumbnail is like "5 lakh to 40 lakh", "Interview Experience in bracket 50Lpa" etc.. Hardly we can see Foreign Editorial things marked with Packages.

#sharing thought.

likeuplifting
like

Are there any disadvantages of joining a C2H role purely on the basis of high CTC even though it is for a big client of the contractor company?

like

I have an offer from deutsche Telekom and Mckinsey and Company both for the role of Software Developer. Which should I join ? Which company has better Work culture?

like

Hi.. I am happy to join here. Seems to be an amazing platform.

like

Mindtree hike letter rolling out

like

Hi Fishes,
Please share your reviews about BOLD Technology Systems,Noida.How is work life balance and work culture?

like

This who have had Covid, do you have loss of smell?

like

Hi All,
Just want your suggestion on this to help me decide.
I've been working in QA team for big data project and recently I've got offers from Startup and service based MNC as data engineer for the role of Data Engineer.
I've not worked on the actual development of ETL batches till now but I want to learn and grow gradually.

What kind of organisation would be best for me considering my mental health as well because I take too much stress ?

Thanks 🙏

like

For a 10 yoe , azure data engineer role which is best LTI or xebia or HCL ?

HCL Technologies LTI Information Technology Xebia

like
like

Which is the best high paying company that gives work life balance.As I want to prepare for upsc as well as keep growing in corporate

like

Is this true Amadeus Amadeus IT Group ?

Post Photo
likefunny

Is oracle still good to join these days? I haven’t heard good things of oracle.

like

Hi friends 🐬,
Please suggest which should I choose among below listed companies w.r.t. good WLB, work culture and career growth

Companies : Fujitsu , Airtel Digital ( Airtel X Labs) , IBM
Profile: Oracle Cloud Technical
YOE: 5.5
Thanks!

like

New to Fishbowl?

Download the Fishbowl app to
unlock all discussions on Fishbowl.
That was just a preview…
Sign Up to see all discussions
  • Discover what it’s like to work at companies from real professionals
  • Get candid advice from people in your field in a safe space
  • Chat and network with other professionals in your field
Sign up in seconds to unlock all discussions on Fishbowl.

Already a user?
Login here

Share

Embed this post

Copy and paste embed code on your site

Preview

Download the
Fishbowl app

See what’s happening in your industry
from the palm of your hand.

A phone with Fishbowl app

Scan your QR code to download
Fishbowl app on your mobile

Download app

Sign up for free to view this conversation on Fishbowl

By continuing you agree to Terms of Use and Privacy Policy

Already have an account? Log in

Sign up for free to continue using Fishbowl

By continuing you agree to Terms of Use(New) and Privacy Policy(New)
Messaging rates may apply

Already have an account? Log in

For account settings, visit Fishbowl on Desktop Browser or

General

Legal