Flatten the parameters object into a single level object that can be used as query parameters.
For example, the following object:
{ "a": 1, "b": { "c": 2, "d": [3, 4] }} Copy
{ "a": 1, "b": { "c": 2, "d": [3, 4] }}
Will be flattened into:
{ "a": "1", "b[c]": "2", "b[d][0]": "3", "b[d][1]": "4"} Copy
{ "a": "1", "b[c]": "2", "b[d][0]": "3", "b[d][1]": "4"}
Generated using TypeDoc
Flatten the parameters object into a single level object that can be used as query parameters.
For example, the following object:
Will be flattened into: