News for hackers. Stuff that matters.
Re:The rise and rise of JSON (2017) by seanwilson on Friday August 24, 2018 @03:19AM (#17833342)
You've got a point. I really like TypeScript but I haven't found a nice way yet to process the results of APIs that return JSON in a type safe manner. I'm surprised there isn't a standard way to do this yet.
Re:The rise and rise of JSON (2017) by Agebor on Friday August 24, 2018 @03:33AM (#17833393)
GraphQL is similar to what you describe
Re:The rise and rise of JSON (2017) by mixedCase on Friday August 24, 2018 @09:21AM (#17834751)
Check out io-ts.