4 ms·
Provided you never need to use integers > 53 bits, dates, binary data, comments or validate what you're sending or receiving it's totally fine.
by rwmj 6y ago
Provided you never need to use integers > 53 bits, dates, binary data, comments or validate what you're sending or receiving it's totally fine.
- fanf2 6y agoI-JSON specifies how to represent dates and binary data in strings. https://tools.ietf.org/html/rfc7493 https://tools.ietf.org/html/rfc7493 JSON Schema http://json-schema.org/ http://json-schema.org/ is widely used for things like Swagger / OpenAPI.
- xellisx 6y agoI like JSON Schema and I wish Typescript did something more like it with it type definitions.