MAX_NESTING_DEPTH
How deeply an extension value may nest before either codec refuses it.
Both codecs walk the ProblemValue tree recursively, so an unbounded document exhausts the call stack. A StackOverflowError is an Error, and that escapes ordinary handling. Past this depth, both codecs throw SerializationException. One shared constant keeps them from drifting apart on what they accept.