Relative Content

Tag Archive for c#jsonangulartypescripthttp

Deserialize a JSON string containing multiple arrays of custom objects

I’m making a POST call containing multiple object arrays that have been serialized using JSON.stringify(). When I intercept the payload in my API call, I’m unsure of how exactly you’re supposed to deserialize the data to pull out the arrays. Here is some simplified code to illustrate my problem: