A macOS command line tool that generates Swift data model code based on JSON data. json2swift generates immutable Swift struct definitions along with thread-safe initialisers to create structs from JSON data. It performs sophisticated type inference to detect data types such as URLs and dates. For example, if you add a date format hint to your JSON, it will correctly add string to date parsing. It also aims to provide the correct optionality, making properties non-optional unless ‘null’ is found in the JSON.
Other similar tools
Sitrep
Sitrep is source code analyzer for Swift projects, giving you a high-level overview of your code: A count of your […]
SwiftPlaygroundsCLI
Easily generate Swift Playgrounds from your command line for the new Playgrounds App on macOS 👨💻 […]
Poes
A Swift command-line tool to easily send push notifications to the iOS simulator Poes helps you with: Generating a JSON […]
Finch
Finch is a configurable tool designed to make tracking the history and evolution of a product simple and easy to […]