We have a number of UI search operations that submit a custom “search DTO” containing query criteria. This DTO may be a complex object with child objects, collections, etc. and thus we would like to use JsvSerializer to serialize an incoming DTO server-side to produce a querystring that can then be used to save the user’s search as a link. Since the UI is Angular we would need to be able to accept the incoming querystring from a “saved search” in the Angular ActivatedRoute and then parse the JSV into the Typescript representation of the search DTO so it can be submitted to the back-end search API to load the results associated with the saved search.
I have seen the JSV.js library but, per this post, it does not appear to be actively supported or recommended. Is there another way to achieve the result we are looking for above? Ideally, this would be a function that can convert JSV directly to a TS object representation of the DTO, but any solution ideas would be appreciated.