Closed mojtabamaslahatbin closed 1 month ago
I’m not sure what you mean. You have an API that accepts JSON a in a query string? That seems bizarre to me.
yes unfortunately in this wiered case it accepts JSON a in a query string😄. but In general, the possibility of excluding a part of the data can be used for different use cases.
Seems like you should already be able to do this with a custom encoder.
in this function
stringify(object, [options]);
when we have a key in object that we don't want to serialize it , we need to exclude it in options . for example: i need this :
but after serializing params object , result is like this :