Re:The Crystal Programming Language
by IshKebab on Monday April 16, 2018 @06:06PM
(#16853277)
That says you need a JSON schema file, which is deciding the type up front and basically how Go works too.
[ Parent
| on HN ]
You don't necessarily need a schema file. You can take a sample document as input for an inferred type. This is compile type meta programming
https://fsharp.github.io/FSharp.Data/
https://medium.com/@maximcus/magic-of-f-type-providers-225b1...