type HexScan
import qasim-bend-kit@0.1.0.2/libs/JSON.bend as JSONimport Base
318# A hexadecimal escape is exactly four digits. The code preserves standalone
319# UTF-16 surrogate escapes and combines adjacent high/low pairs into a scalar.
320# This accepts the JSON string grammar without silently replacing code units.
321type HexScan is Data:
322 HexScan{code: U32, rest: String}