Parse query string với lồng nhiều cấp: a[b][c]=1. Hãy chuyển thành đường dẫn a.b.c=1. In mỗi cặp path=value, sắp xếp theo path.
Ví dụ:
Input:
filter[user][name]=John&filter[user][age]=30
Output:
filter.user.age=30
filter.user.name=John
Một dòng query string.
Số cấp lồng tùy ý. Không encode.
Mỗi dòng path=value, sắp xếp.
Ví dụ:
Đầu vào:
filter[user][name]=John&filter[user][age]=30
Đầu ra:
filter.user.age=30
filter.user.name=John
Giải thích:
Đang tải editor...