backbone-documentmodel icon indicating copy to clipboard operation
backbone-documentmodel copied to clipboard

toJSON on collection returns array of undefined

Open azpublic opened this issue 10 years ago • 2 comments

Calling toJSON on a collection containing models that have string[] as an attribute will return these string[] as an array of undefined in the json object.

azpublic avatar Sep 24 '14 11:09 azpublic

+1

malte-wessel avatar Oct 29 '14 13:10 malte-wessel

BTW, I think I also fixed this: https://github.com/icereval/backbone-documentmodel/pull/25

odbol avatar Apr 13 '15 22:04 odbol