Skip to main content
Serialize: Form URL encoded The Serialize: Form URL encoded mapper converts a data structure like objects and arrays into a Form URL encoded string.

Fields

Encoding type

Determines the way spaces are encoded. “RFC 1738 Spaces to +” will convert spaces to +. “RFC 3986 Spaces to %20” will convert spaces to %20. By default, RFC 1738 is used.

Sample data

InputEncoding TypeOutput
{“name”: “Example Product”,“price”: 19.95}RFC 1738 Spaces to +“name=Example+Product&price=19.95”
{“name”: “Example Product”,“price”: 19.95}RFC 3986 Spaces to %20”name=Example%20Product&price=19.95”
{“invoiceId”: “#1234”,“totalAmount”: 300,“products”: [{“sku”: “ABC”,“price”: 100,“qty”: 1},{“sku”: “123”,“price”: 200,“qty”: 1}]}RFC 1738 Spaces to +“invoiceId=%231234&totalAmount=300&products%5B0%5D%5Bsku%5D=ABC&products%5B0%5D%5Bprice%5D=100&products%5B0%5D%5Bqty%5D=1&products%5B1%5D%5Bsku%5D=123&products%5B1%5D%5Bprice%5D=200&products%5B1%5D%5Bqty%5D=1”
[“a”, “b”, “c”]RFC 3986 Spaces to %20”0=a&1=b&2=c”