Class MaskingState.SegmentReference

java.lang.Object
dev.blaauwendraad.masker.json.MaskingState.SegmentReference
Enclosing class:
MaskingState

public static class MaskingState.SegmentReference extends Object
A mutable reference to a sequence of bytes in message. It is used to represent json path segments. A "key" segment type reference is represented as a (start, offset) pair. For an "array index" segment type reference, a (start, offset) pair is interpreted as (index, -1).