Is there a simple way to serialize a single-level structure as a string for use in a url?
for example:
?key1=val1&key2=val2
// create simple struct
x = { a=1, b=2, c=3 };
WriteDump(x);
// serialize in JSON format and encode for URL transport
y = URLEncodedFormat( SerializeJSON(x));
WriteOutput( 'url: #SCRIPT_NAME#?#y#');
// now receive the URL variable and dump it
if ( StructKeyExists( url, 'z' )) {
writeOutput( 'URL Data:
' );
writeDump( DeserializeJSON( URLDecode( z)));
}