Re:Some items from my “reliability list”
by xsmasher on Friday July 26, 2019 @02:58PM
(#20537402)
#1 and #3 can be solved by using TypeScript types to define the schema of your JSON.
IMO they're readable enough to serve #2 too.
Before someone mentions "JSON schema" - I've tried to use them, and they're difficult to write and impossible to read. Reading/writing TypeScript types are a dream in comparison.
IMO they're readable enough to serve #2 too.
Before someone mentions "JSON schema" - I've tried to use them, and they're difficult to write and impossible to read. Reading/writing TypeScript types are a dream in comparison.