It will cause casting errors in other languages that have badly written, non-standards compliant, JSON parsers, as 1 and 1.0 being the same is part of the official JSON ISO standard and has been for a long time: https://json-schema.org/understanding-json-schema/reference/numeric
Yes, it is:
https://www.iso.org/standard/71616.html
Page 3 of INTERNATIONAL STANDARD