File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131
3232## Features
3333
34- ##### ** Compatibility**
34+ ### ** Compatibility**
3535
3636- ** Robust Parsing** – Handles missing keys, type mismatches, and null values safely.
3737- ** Safe Defaults** – Falls back to property initializers when parsing fails.
3838- ** Smart Type Conversion** – Converts common types automatically (e.g., ` Int ⇄ String ` , ` Bool ⇄ String ` ).
3939
40- ##### ** Enhancements**
40+ ### ** Enhancements**
4141
4242- ** Any & Collection Support** – Parses ` Any ` , ` [Any] ` , ` [String: Any] ` safely.
4343- ** Nested Path Parsing** – Decode nested JSON using designated paths.
4747- ** Inheritance Support** – Enables model inheritance via ` @SmartSubclass ` .
4848- ** Stringified JSON Parsing** – Converts string-encoded JSON into objects or arrays automatically.
4949
50- ##### ** Convenience**
50+ ### ** Convenience**
5151
5252- ** Property Ignoring** – Skip specific properties with ` @IgnoredKey ` , including non-` Codable ` fields.
5353- ** Flexible Input Formats** – Deserialize from dictionaries, arrays, JSON strings, or ` Data ` .
5454
55- ##### ** Callbacks**
55+ ### ** Callbacks**
5656
5757- ** Post-Processing Callback** – ` didFinishMapping() ` runs after decoding for custom initialization or adjustments.
5858
59- ##### ** Debugging**
59+ ### ** Debugging**
6060
6161- ** SmartSentinel Logging** – Real-time parsing logs to track errors and data issues.
6262
63- ### Quick Start
63+
64+
65+ ## Quick Start
6466
6567```
6668import SmartCodable
You can’t perform that action at this time.
0 commit comments