{"ScriptPreparationCode":"var data = {\r\n content: \u0022This is an example of a message Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse leo tellus, scelerisque et varius sit amet, fermentum quis diam. In vehicula, tortor ut finibus aliquet, purus nisl tincidunt erat, ut faucibus mauris ligula id libero\u0022,\r\n author: \u0022Alan\u0022,\r\n to: \u0022Alice\u0022,\r\n type: \u0022complex_message\u0022,\r\n location: \u0022one two three four five\u0022\r\n};\r\n\r\nvar dataJson = JSON.stringify(data);\r\n\r\nvar dataUrl = new URLSearchParams(data).toString();","TestCases":[{"Name":"JSON","Code":"var obj = JSON.parse(dataJson);\r\nvar { content, author, to, type, location } = obj;","IsDeferred":false},{"Name":"URLSearchParams","Code":"var searchParams = new URLSearchParams(dataUrl);\r\nvar content = searchParams.get(\u0022content\u0022);\r\nvar author = searchParams.get(\u0022author\u0022);\r\nvar to = searchParams.get(\u0022to\u0022);\r\nvar type = searchParams.get(\u0022type\u0022);\r\nvar location = searchParams.get(\u0022location\u0022);","IsDeferred":false}]}