sixFingers/jason — pull request #1 by gvegodev (2013-02-28 21:59:56+00:00)
Title: Bug fix in save method

When saving new record, $collection->items needs to be type casted to an Array, instead of Object, to keep the count of it incremental. Otherwise, it returns 1, and save method always overwrite the last record in JSON collection.