{ Name = "Alf"\\n Phone = "(555) 555-5555"\\n ZipCode = "90210" }
Name | "Alf"\r\n", + " |
Phone | "(555) 555-5555"\r\n", + " |
ZipCode | "90210"\r\n", + " |
{html}
" + | _ -> None + + let (|TextPlain|_|) (x: JsonElement) = + match x.TryGetProperty("text/plain") with + | true, text -> + let text = text.EnumerateArray() |> Seq.map (fun x -> x.GetString()) |> String.concat "" + Some $"""
|
|
{ Name = "Alf"\\n Phone = "(555) 555-5555"\\n ZipCode = "90210" }
Name | "Alf"\r\n", + " |
Phone | "(555) 555-5555"\r\n", + " |
ZipCode | "90210"\r\n", + " |
{ Name = "Alf"\n Phone = "(555) 555-5555"\n ZipCode = "90210" }
Name "Alf"
+
Phone "(555) 555-5555"
+
ZipCode "90210"
+