xaya / taurion_gsp

Taurion - A Fully Decentralised MMO built for the Xaya Platform.
https://taurion.io
GNU General Public License v3.0
23 stars 10 forks source link

Enforce strict JSON integers #186

Closed domob1812 closed 3 years ago

domob1812 commented 3 years ago

When parsing moves, we should for all integers enforce that they are strict JSON integers (using xaya::IsIntegerValue). In other words, disallow values like 1.0 and 2e1 from being used as integers.