Skip to content

Workaround for big numbers in JSONs

Dariusz Rybicki requested to merge feature/json-bigint-coding into development

This MR introduces a workaround for an issue where JSON models containing big numbers (eg 930-digits) can't be parsed by swift's JSONDecoder/JSONEncoder.

This affects the GroupMember model, which holds DHKey models that has value property with such a big number. The model's value is stored as String, and it's automatically decoded/encoded to big number in JSON.

Merge request reports