Convert Record to Serialized Form Data for sending via HTTP
问题 Is there a way to convert this Record TError = record code: Word; message: String; end; TState = record caption: String; address: Cardinal; counters: TArray<Word>; errors: TArray<TError>; end; to serialized Form Data string ( Content-Type: application/x-www-form-urlencoded ) like caption=Foo& address=175896& counters[]=2& counters[]=2& errors[0][code]=52& errors[0][message]=ERR_NOT_AVAILABLE for sending via HTTP? Maybe there is some function similar to JQuery.param()? 回答1: Ok, here is a