crypto-com / chain-indexing

Other
35 stars 28 forks source link

Problem: json.Number will marshal to number but not string #487

Closed calvinaco closed 3 years ago

calvinaco commented 3 years ago

json.Number has the following limitations:

  1. It does not support uint64
  2. It always marshal to number, which may creates problem when being parsed in some langauges

For better handling of number across different languages, add a new json struct to support

calvinaco commented 3 years ago

cc @davcrypto