I need to know not only a field value but also it's position e.g. something like:
reqId, pos, err = propsIter.String()
Ideally I also need to know the posEnd but I can live without it.
I changed the library and exposed the iter.off field and tried to count myself shifts but this is too complicated to follow many iteartions.
Is it something that is easy to implement or maybe someone else need this functionality?
I need this because I trying to perform in-place replacements of the JSON.
I need to know not only a field value but also it's position e.g. something like:
reqId, pos, err = propsIter.String()
Ideally I also need to know the
posEnd
but I can live without it. I changed the library and exposed the iter.off field and tried to count myself shifts but this is too complicated to follow many iteartions. Is it something that is easy to implement or maybe someone else need this functionality?I need this because I trying to perform in-place replacements of the JSON.