Commit bbf4007
Derek
feat(transport): add stateful FormatDetector with auto-locking
- Add DetectedFormat enum (Unknown/Json/MessagePack)
- Add FormatMode enum (Auto/ForceJson/ForceMessagePack)
- Add FormatDetector with mismatch tracking and auto-reset
- Enhanced whitespace handling for JSON detection
- 13 new tests for format detection
Migrated from dfe-loader-clickhouse payload/detect.rs1 parent 433b984 commit bbf4007
4 files changed
Lines changed: 996 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments