- struct
- Tipo por valor en Swift, adecuado para modelos de datos inmutables. Se copia al asignar. Esta herramienta genera struct por defecto.
- class
- Tipo por referencia en Swift para estado compartido o herencia. Se puede generar class bajo ciertas configuraciones.
- Codable
- Combinación de Decodable y Encodable en Swift. Permite a JSONDecoder parsear JSON. No se genera por defecto.
- Array ([T])
- Shorthand for array type in Swift. This tool converts JSON arrays to [T], where T is inferred from array element types, e.g., [String], [Int], or [CustomType].
- Codable
- Protocol combination of Decodable and Encodable in Swift. After implementing Codable, JSONDecoder can parse JSON data into type instances. This tool does not generate Codable by default; it must be added manually.
- JSONDecoder
- JSON parser in the Foundation framework. Used with the Codable protocol to convert Data to Swift type instances. After this tool outputs pure types, developers can parse themselves with JSONDecoder.
- URLSession
- Network request API in Apple platform Foundation framework. Common usage is URLSession.shared.data(from: url), paired with JSONDecoder to complete API integration.
- Alamofire
- Most popular third-party HTTP networking library in the Swift community. Wraps URLSession, supports responseDecodable for direct deserialization to Swift types.
- Moya
- Swift network abstraction layer, typically paired with Alamofire. Moya with Codable types can significantly reduce API call boilerplate code.
- Vapor
- Mainstream server framework for Swift, building Web applications on macOS/Linux using Swift. Swift structs generated by this tool can also be used for Vapor route models.
- quicktype
- Open-source multilingual type generator tool; this tool uses quicktype-core in browser Web Worker to complete JSON to Swift conversion.
- Property
- Property declaration in Swift types. This tool maps each JSON key to a Swift property; for example, "name": "Alice" maps to var name: String.
- Type Inference
- Process of automatically inferring Swift types from literal forms of JSON values. This tool maps based on null, boolean, number, string, array, object.
- localStorage
- Browser local key-value storage. This tool uses localStorage to save recent input history; resume after refresh or accidental page close.
- Web Worker
- Background thread mechanism provided by browsers. This tool loads and executes quicktype-core via Web Worker to prevent large JSON conversions from blocking the main thread.
- SwiftUI
- Declarative UI framework introduced by Apple. Swift types generated by this tool can serve as data models for SwiftUI views, paired with @State/@ObservedObject to drive interfaces.
- Combine
- Apple's reactive programming framework. Generated Swift types combined with JSONDecoder can build dataTaskPublisher reactive data streams.
- SwiftData
- Data persistence framework introduced by Apple in 2023. Types generated by this tool can serve as SwiftData model base classes; after adding @Model, they can be managed by SwiftData.
- Value Type / Reference Type
- In Swift, struct is value type, class is reference type. This tool generates struct by default, copied on assignment; if reference semantics are needed, manually change to class.
- Field Naming
- This tool preserves original JSON field names by default. If source JSON is snake_case and the project requires camelCase, manual rename or custom quicktype renderer is needed.
- ISO 8601 Date
- Common JSON date format, e.g., 2026-07-14T10:00:00Z. Requires JSONDecoder.dateDecodingStrategy = .iso8601 to correctly parse to Date type.