kohana/orm — comment on commit d05a15a91ba2274c08943cf5999ca69f31f15167
File: classes/kohana/orm.php line 1673
By isaiahdw:

json_encode() will throw an error if you have recursion too.