Commit 638fa84
docs: clarify that if let Ok guard on from_value is infallible for serde_json::Value
Add inline comment explaining that deserializing into serde_json::Value always
succeeds, so the Ok branch always fires. The guard future-proofs against typed
additionalProperties schemas where the conversion could fail.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 336a84c commit 638fa84
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
0 commit comments