Serializing and Deserializing objects with BigNumber fields #2529
Unanswered
Mahamed-Belkheir
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You could just use Also, you should t use the It depends a lot on what you are doing, but that seems a bit more complicated and fragile than I’d use… |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I'm looking to send objects with Big Number fields through message queues and DBs, and I can't really find anyone talking about this. Is there a way to do this?
Currently I've done the following but I dont want to be reinventing the wheel
(the reason I'm parsing strings as json is because big number IDs are saved as string in the DB, which ends up being the json string of the big number)
Should I just go with this or is there a built in utility/helper function?
Beta Was this translation helpful? Give feedback.
All reactions