2 ms·
That says you need a JSON schema file, which is deciding the type up front and basically how Go works too.
by IshKebab 9y ago
That says you need a JSON schema file, which is deciding the type up front and basically how Go works too.
- lenkite 9y agoYou 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://fsharp.github.io/FSharp.Data/ https://medium.com/@maximcus/magic-of-f-type-providers-225b1169c7a0 https://medium.com/@maximcus/magic-of-f-type-providers-225b1...