Open cmungall opened 4 months ago
Some frameworks will serialize what are internally ints as strings in JSON: https://protobuf.dev/programming-guides/proto3/#json
This means that the canonical JSON version of some databases may use strings for things such as genome positions: https://github.com/monarch-initiative/phenopacket-store/issues/97
It would be convenient to have a way of reading/writing these as strings but coercing them to ints.
int_as_string
See also
Some frameworks will serialize what are internally ints as strings in JSON: https://protobuf.dev/programming-guides/proto3/#json
This means that the canonical JSON version of some databases may use strings for things such as genome positions: https://github.com/monarch-initiative/phenopacket-store/issues/97
It would be convenient to have a way of reading/writing these as strings but coercing them to ints.
int_as_string
See also