backbone-query-parameters
backbone-query-parameters copied to clipboard
Objects nested in arrays
Any thoughts on objects nested within arrays?
router.toFragment('somePath', { anArray: [ { a: 'b', c: 'd' } ] }
I started to write a test for this, but realized I had no idea how it should be parsed. You could do
`somePath/anArray=|a=b&c=d'
but that would be the same as
route.toFragment('somePath', { anArray: [{ a: 'b' }], c: 'd' });
I'm not should where else to go from there. Any thoughts?