dzuelke/PHPCouch — pull request #10 by nnarhinen (2011-11-04 08:50:56+00:00)
Title: Properly convert Record to array

The current implementation of Record::toArray() only makes an array of the first level of the data.

If however your json contains associative data that nests many levels, they are represented as stdClass objects. I think this is unexpected and undesired for a toArray() method.

This function recursively makes arrays of the whole json.