Subject: | Expose parent context within filters |
When dumping large, multi-layered data structures it would be useful to be able to find out the location within the data structure for the value being dumped. (In particular, I'd like to know the key when dumping hash values.) So far I've been able to work around this using a combination of reftype, depth, state arrays, and knowledge of the structure but that approach is awkward and fragile. The information I want appears to be present in the context object already (the array stored under the 'idx' key) but that isn't exposed via the API.