What are the methods for compressing and/or encoding json for a URL query parameter?
I’m building an application using Next.js 14 and am holding my filtering state within the URL. The request that returns the filtered data is a POST request that takes a payload of a certain structure. To minimize data transformation and to allow for the filtering functionality I have built on the backend, I’ve decided to hold that json structure in the URL.