google / google/go-querystring

How to encode nested structure by my way?

Open
#79 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
188
Avg merge
10h 23m
Merged PRs (30d)
1

Description

As you showed in the demo, for a struct, the encoded value is “user[name]=acme&user[addr][postcode]=1234&user[addr][city]=SFO”, If I don't want to use "[]" to split, but ".", like“user.name=acme&user.addr.postcode=1234&user.addr.city=SFO”,Is there a way to achieve this?Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.