Skip to content

Conversation

@pawan-joshi
Copy link

@pawan-joshi pawan-joshi commented Dec 24, 2019

Changed code in swift codable so that if any key value pair is not found / has different type, in json, it will make the property nil. instead of failing to create an object. also. its will print which object has not been found in json object, on console.

Ahmed-Ali and others added 30 commits November 15, 2017 22:22
Adding support for Swift 4 Codable
Changed icon / Fix UpsideDown text
In Swift-Struct-Codable format 'decodeIfPresent' cannot
produce value of type 'Anyobject'. So changing geberic-type
from 'AnyObject'to 'String' for null json values will
allow to compile the xcode project

Fixes Ahmed-Ali#105
…opt" to get String type value from JSONObject in constructor.
…com/ankushkushwaha/JSONExport into ankushkushwaha-fix_generic_type_swift_struct_codable
…ty0521-fss/JSONExport into ty0521-fss-feature/fix_java_gson_for_android
…o BrychanOdlum-master

# Conflicts:
#	JSONExport.xcodeproj/project.pbxproj
#	JSONExport/FilePreviewCell.swift
#	JSONExport/ViewController.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants