Working with nested JSON request data in .Net Core API

  • Thread starter Thread starter BHolz97
  • Start date Start date
B

BHolz97

Guest
I am relatively new to .Net API development, so apologies if the answer is obvious here.

I have JSON coming in via a request. It is a nested JSON structure with a few subclasses.

I need to get this JSON in and subsequently restructure and distribute it into two, flat classes for storing in two database tables.

What is the best way to go about this? I have used DTOs and Automapper on my path to learning but I am not sure how to go about this with a nested structure.

Any tips would be greatly appreciated!

Continue reading...
 
Back
Top