eosio-swift icon indicating copy to clipboard operation
eosio-swift copied to clipboard

Add dictionary validations before serializing to data using JSONSerialization

Open paulhyunkim opened this issue 6 years ago • 0 comments

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.

paulhyunkim avatar Oct 23 '19 15:10 paulhyunkim