Expand description
A serde_json extension for better deserialization error diagnostics with accurate path tracking.
This crate provides drop-in replacements for serde_json::from_str,
serde_json::from_slice, and serde_json::from_reader that return enhanced
errors with JSON path information.
§Current Status
Path tracking implementation is pending completion in Phase 4. Currently, the API wraps serde_json functions and returns ErrorDiagnostic type, but path information is not yet captured.
Structs§
- Error
Diagnostic - Enhanced error type with path tracking for JSON deserialization errors.
Functions§
- from_
reader - Deserialize an instance of type
Tfrom an IO stream of JSON. - from_
slice - Deserialize an instance of type
Tfrom bytes of JSON text. - from_
str - Deserialize an instance of type
Tfrom a string of JSON text.
Type Aliases§
- Result
- Type alias for Result with ErrorDiagnostic as the error type.