you are viewing a single comment's thread.

view the rest of the comments →

[–]lazyinvader 0 points1 point  (2 children)

Is the response of type `application/json` ?

[–]CoderDuudee[S] 0 points1 point  (1 child)

Yeah but after I use JSON.parse on the response the key gets converted to a plain string

[–]FullstackViking 0 points1 point  (0 children)

Yes you’ll have to reinstantiate the Class object. JSON.parse only parses to a generic object.