serialize

Function
serialize raw query parameters into hub specific URI encoding
Example:
Input: { q: 'crime', tags: 'a,b,c', sort: 'name' }
Output: 'q=crime&tags=all(a,b,c)&sort=name'

Parameters

Parameter Type Default Notes
searchParams Required ISearchParams

Returns

string

Function defined in search/src/ago/serialize.ts:20