Builds the serialized UI payload for an InputtingState.
This builder converts the internal input-method state into the compact JSON structure expected by concrete UI implementations.
Creates a builder for the given inputting state.
The inputting state to serialize for the UI layer.
Readonly
Builds the UI payload and returns it as a JSON string.
The serialized UI payload.
Builds the serialized UI payload for an InputtingState.
This builder converts the internal input-method state into the compact JSON structure expected by concrete UI implementations.