You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#r "nuget: YamlDotNet, 16.3.0"
open YamlDotNet
open System
[<CLIMutable>]
type t = {
qwer : string
asdf : int
}
let t = {
qwer = "hello"
asdf = 1234
}
let serializer = new Serialization.Serializer()
serializer.Serialize(Console.Out, t)
Here is what it outputs when I run it.
qwer@: hello
asdf@: 1234
qwer: hello
asdf: 1234
How do I prevent it from generating those extraneus duplicate fields ending in @?
The text was updated successfully, but these errors were encountered:
Example code:
Here is what it outputs when I run it.
How do I prevent it from generating those extraneus duplicate fields ending in
@
?The text was updated successfully, but these errors were encountered: