zooniverse / json-api-client

Apache License 2.0
10 stars 5 forks source link

Check the next key to see if the current one should be an array #11

Closed brian-c closed 9 years ago

brian-c commented 9 years ago

If you try to do something like resource.update({'things.2': 'Third thing'}), and resource.things isn't defined, the library's supposed to be smart enough to make an array automatically. This was broken. Now it's fixed.