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
Codec.Create(encoder, up = up, down = down, mapCausation = mapCausation, ?rejectNullaryCases = rejectNullaryCases)
100
100
101
101
/// <summary>Generate an <code>IEventCodec</code> using the supplied <c>encoder</c>.<br/>
102
102
/// The Event Type Names are inferred based on either explicit <c>DataMember(Name=</c> Attributes, or (if unspecified) the Discriminated Union Case Name
103
103
/// <c>'Union</c> must be tagged with <c>interface TypeShape.UnionContract.IUnionContract</c> to signify this scheme applies.</summary>
Copy file name to clipboardExpand all lines: src/FsCodec.NewtonsoftJson/Options.fs
+11-11
Original file line number
Diff line number
Diff line change
@@ -9,20 +9,20 @@ open System.Runtime.InteropServices
9
9
typeOptionsprivate()=
10
10
11
11
/// <summary>Analogous to <c>System.Text.Json</c>'s <c>JsonSerializerOptions.Default</c> - allows for sharing/caching of the default profile as defined by <c>Options.Create()</c></summary>
12
-
static member valDefault:JsonSerializerSettings = Options.Create()
12
+
static member valDefault:JsonSerializerSettings = Options.Create()
13
13
14
14
/// Creates a default set of serializer settings used by Json serialization. When used with no args, same as JsonSerializerSettings.CreateDefault()
15
15
/// With one difference - it inhibits the JSON.NET out of the box parsing of strings that look like dates (see https://github.com/JamesNK/Newtonsoft.Json/issues/862)
0 commit comments