check_ijson
def check_ijson(text: String, value: Value) Whether text and its parse satisfy the checkable I-JSON rules.
- Args
text: The document as it arrived, needed for the surrogate rule because parsing does not preserve the distinction.value: The same document parsed, needed for the uniqueness rule because that one is about structure.
Raises Error: On the first violation, naming the rule and the place.