RockefellerArchiveCenter / rac-data-model

Working repo for Project Electron data model.
2 stars 0 forks source link

Decide whether floats should be string or number #27

Closed helrond closed 5 years ago

helrond commented 5 years ago

JSON does not specify whether or not floating point values should be encoded as strings or numbers. There appear to be some (edge-casey?) reasons for using a string, but would be good to do a bit of research and get a better sense of what to do. See also https://stackoverflow.com/questions/35709595/why-would-you-use-a-string-in-json-to-represent-a-decimal-number

p-galligan commented 5 years ago

Fixed by #30