Traceptor
HTTP/HTTPS proxy
·
debugger
Features
Pricing
Tools
Blog
Support
Manage License
Download
Back to Tools
JSON to Swift
Convert JSON to Swift Codable structs
Options
Generator Options
Root Type Name
Type
struct
class
Access Level
public
internal
private
fileprivate
Key Decoding Strategy
Use Default Keys
Convert from Snake Case
Options
Use optionals for all properties
Use let (immutable) properties
Add CodingKeys enum
Add initializer
Conform to Equatable
Conform to Hashable
JSON Input
Load Sample
Format
Convert to Swift
Swift Output
Copy
Swift code will appear here...