eosio-swift
eosio-swift copied to clipboard
Add dictionary validations before serializing to data using JSONSerialization
https://github.com/EOSIO/eosio-swift/pull/233
This extends on a previous issue that was resolved by the above PR. We should be checking if dictionaries meet the requirements for serialization using JSONSerialization using isValidJSONObject to prevent potential crashes everywhere in the SDK.