Skip to content

Commit 45babb6

Browse files
authored
Update README.md
1 parent f362352 commit 45babb6

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,27 @@
4040

4141
### English | [中文](https://github.com/iAmMccc/SmartCodable/blob/main/README_CN.md)
4242

43+
44+
## SmartModeler - JSON To Swift SmartCodable Tool
45+
46+
[online access)](https://iammccc.github.io)
47+
48+
SmartModeler is an online JSON-to-model tool specifically designed for the Swift ecosystem and the SmartCodable library. It quickly converts any standard JSON data into Swift structs compliant with SmartCodable, greatly improving developers' efficiency and accuracy in model creation.
49+
50+
**Key Features:**
51+
52+
- **Smart JSON Parsing:** Automatically detects basic types, arrays, and nested objects to generate corresponding Swift structs and properties.
53+
- **Flexible Configurations:** Customize struct usage, initializer generation, property access levels (public), camelCase conversion, optional properties, and header comments to fit various coding standards.
54+
- **Syntax Highlighting & Formatting:** Built-in editor supports syntax highlighting and automatic formatting for both JSON and Swift code for better readability.
55+
- **Real-Time Preview:** Edit JSON on the left and instantly see the generated Swift model on the right, with configuration toggles updating output dynamically.
56+
- **Clean & Intuitive UI:** Top toolbar and clear split layout make it easy to operate and understand the conversion process.
57+
58+
Built as an extension of the open-source SmartCodable project, this tool is a practical asset for Swift developers converting JSON data into consistent Swift models.
59+
60+
![](https://github.com/iAmMccc/iAmMccc.github.io/blob/main/演示图.png)
61+
62+
63+
4364
SmartCodable redefines Swift data parsing by augmenting Apple's native Codable with production-ready resilience and flexibility. Where standard Codable fails on real-world data, SmartCodable delivers bulletproof parsing with minimal boilerplate.
4465

4566
## **SmartCodable vs Codable**

0 commit comments

Comments
 (0)