You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a generated swagger client in a reactjs project where we use Immutable, I would like to get the data as a json map instead of models. Is it only me that have a need for something like this?
An alternative would be to implement a toJSON() that would return the object representation.
The text was updated successfully, but these errors were encountered:
JSON.stringify also calls toJSON() and not toJson() so it would allow for internal properties on the model that would not be serialized if we don't want them to.
I'm using a generated swagger client in a reactjs project where we use Immutable, I would like to get the data as a json map instead of models. Is it only me that have a need for something like this?
An alternative would be to implement a toJSON() that would return the object representation.
The text was updated successfully, but these errors were encountered: