Skip to content
Snippets Groups Projects

Workaround for big numbers in JSONs

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading