Unfortunately, we do not have a mechanism to refer to an anonymous key in the nested object. That is, we don't have [src][ip^K:1]
as in "grab the first key name of the nested object in [src][ip]
. Obviously [src][ip][1.1.1.1]
is a reference to the nested object {"rep": 1, ... "count": 1}
You could try to transform the JSON before its pushed into LS. https://github.com/ColinEberhardt/json-transforms is a possible OS project.