newtonsoft json deserialize detect type c# code example
Example: fsharp newtonsoft json deserialize
type Foo =
{ meta : Meta }
and Meta =
{ count : int }
let testjson = """{"meta": {"count": 15}}"""
open FSharp.Json
let data = Json.deserialize<Foo> testjson