Changes in Swift-Codable.json for nil/not found key-value pairs.#140
Open
pawan-joshi wants to merge 43 commits intoAhmed-Ali:masterfrom
Open
Changes in Swift-Codable.json for nil/not found key-value pairs.#140pawan-joshi wants to merge 43 commits intoAhmed-Ali:masterfrom
pawan-joshi wants to merge 43 commits intoAhmed-Ali:masterfrom
Conversation
Fix minor typo
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.
…to serhii-londar-master
…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
…this to not to merge correctly
… element outside the UI thread
fixed: update the color under Dark Mode
…und 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 on console.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.