43081j / picoquery

A small library for parsing and serializing query strings
MIT License
76 stars 2 forks source link

feat: add support for serializing complex objects #49

Closed 43081j closed 4 months ago

43081j commented 4 months ago

Adds a shouldSerializeObject function which determines if a value should be serialized or should attempt to be nested.

The default implementation checks if a value is a non-date object, meaning all objects which are not dates will trigger nesting.

Fixes #48