//------------------------------------------------------------------------------ // This code was generated by myriad. // Changes to this file will be lost when the code is regenerated. //------------------------------------------------------------------------------ namespace ConsumePlugin /// Module containing JSON parsing methods for the InnerType type [] [] module InnerType = /// Parse from a JSON node. let jsonParse (node : System.Text.Json.Nodes.JsonNode) : InnerType = let Thing = node.[(Literals.something)].AsValue().GetValue () { Thing = Thing } namespace ConsumePlugin /// Module containing JSON parsing methods for the JsonRecordType type [] [] module JsonRecordType = /// Parse from a JSON node. let jsonParse (node : System.Text.Json.Nodes.JsonNode) : JsonRecordType = let D = InnerType.jsonParse node.["d"] let C = node.["hi"].AsArray () |> Seq.map (fun elt -> elt.GetValue ()) |> List.ofSeq let B2 = node.["another-thing"].AsValue () let B = B2.GetValue () let A = node.["a"].AsValue().GetValue () { A = A B = B C = C D = D }