auto convert json string to swift struct.中文介绍
-
How to use?
-
- Input json to left
-
- click "convert=>"
-
- Copy the result Parameters statement:
-
ObjectMapper: Simple JSON Object mapping written in Swift. If this is selected, result will auto add func mapping
-
name: the name of the result, default is "Result"
-
prefix: the prefix of each struct name, default is empty.
-
- open Terminal, cd to Main.py
-
- Copy json string to File named "jsons.txt"
-
- Python3 Main.py
-
- ResultModel.swift is the result
-
- python 简单入门指北
- Python教程
- Running a Python Script from Swift

