Bot releases are visible (Hide)
Published by Tarmil almost 5 years ago
IgnoreNullValues
on record and union fields.JsonPropertyNameAttribute
on union cases to set the tag name to use for this case.JsonUnionEncoding.SuccintOption
, which encodes Some x
the same as x
.unionTagName
and unionFieldsName
option to customize the "Case"
and "Fields"
tags for unions.JsonUnionEncoding.FSharpLuLike
, which is equivalent to ExternalTag ||| BareFieldlessTags ||| SuccintOption
.Published by Tarmil about 5 years ago
Initial release.
Published by Tarmil about 5 years ago
JsonPropertyNameAttribute
.JsonIgnoreAttribute
.Published by Tarmil about 5 years ago
Published by Tarmil about 5 years ago
JsonFSharpConverter
and JsonFSharpConverterAttribute
now take JsonUnionEncoding
as optional argument.JsonUnionEncoding
as detailed in the documentation.Published by Tarmil about 5 years ago
'T list
encoded as JSON array.Set<'T>
encoded as JSON array.Map<string, 'T>
encoded as JSON object with map keys as field names.Map<'K, 'V>
when 'K
is not string
encoded as JSON array whose elements are [key,value]
JSON arrays.