Expand description
JsonModel – JSON structure-aware context model.
Phase 4: Tracks JSON parsing state and provides structure-aware predictions. Gives the mixer specialized weight sets for different JSON contexts:
- Inside a key vs inside a value
- String vs number vs boolean vs null
- Array index position
- After colon vs after comma
This model provides both a prediction and a JSON state byte that other models can use as additional mixer context.
Structs§
- Json
Model - JSON structure-aware context model.