StructToQueryString
Last updated
Was this helpful?
Last updated
Was this helpful?
Converts a struct to a query string using the specified delimiter.
The default delimiter is {@code "&"}
struct
struct
true
The struct to convert
delimiter
string
false
The delimiter to use in the query string. Default is "&"
&
Converting a struct to a query string using the default delimiter (&)
Result: firstName=John&lastName=Doe