We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input Format: Json Output Language: Swift
I hope to support HandyJSON in Swift language, or support generating attributes from original fields without filtering '_'.
{ "greeting_ad": "Welcome to quicktype!", }
import Foundation // MARK: - BTWelcome class BTWelcome { var greetingAd: String? init(greetingAd: String?) { self.greetingAd = greetingAd } }
class BTWelcome: HandyJSON { var greetingAd: String? required public init() { } public func mapping(mapper: HelpingMapper) { mapper <<< greetingAd <-- "greeting_ad" }
import Foundation // MARK: - BTWelcome class BTWelcome { var greeting_ad: String? init(greeting_ad: String?) { self.greeting_ad = greeting_ad } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Context (Input, Language)
Input Format: Json
Output Language: Swift
Description
I hope to support HandyJSON in Swift language, or support generating attributes from original fields without filtering '_'.
Input
Current Output
Hope to output
Or output
The text was updated successfully, but these errors were encountered: