An ADODB ActiveRecordSet contains many fields like _table
, _original
, _where
, etc, which are not usefull to the client interface. To save time and code I often send a JSON-encoded version of the ActiveRecordSet object. An ActiveRecordSet object may contain child tables which also contain those private fields. I cannot use array_walk_recursive since they are objects and arrays of objects.
Is there a way to remove them or not to have them included in the object?