AnyCodable
AnyCodable copied to clipboard
Type-erased wrappers for Encodable, Decodable, and Codable values
``` { "aps": { "alert": { "title": "Test Title", "subtitle": "Test Subtitle", "body": "Test body content" }, "badge": 1, "sound": "default", "category": "CUSTOM_UNNotificationCategory", "interruption-level": "active", "relevance-score": 0.0 } } ```...
Equatable was not working as expected. This PR should correct that
When dictionary contains an NSNumber as 0 or 1, encodable method is mapping to true or false because 0 or 1 is also a boolean for swift. I think this...
Hi! I'll try to encode NSNumber with value 1673520803 but in result I see -6493. It seams there is a bug when encoding NSNumber in ` case "i": try container.encode(nsnumber.int16Value)...
Hi, can you pls add the privacy manifest file to Packages.swift as required by Apple for 3rd party SDKs? https://developer.apple.com/support/third-party-SDK-requirements/ According to this requirement, all 3rd party SDKs need to...
I have a use case where there can be multiple datasources accessed through a strategy pattern. Those strategies return similar objects (json from the network). Internally they handle the data...
## Changes - Improve tests - Some minor changes to remove force unwrapping in tests. - Existing encoding tests validate that deserialized serialized value is equal to some value. This...