API Diff between 3.0.3 and 3.0.0-rc.4
25 Additions
13 Removals
FsCodec.SystemTextJson
-
public static class Codec
- public static IEventCodec<Event, ReadOnlyMemory<byte>, Context> Create<Event, Contract, Meta, Context>(FSharpFunc<Tuple<ITimelineEvent<ReadOnlyMemory<byte>>, Contract>, Event> up, FSharpFunc<Tuple<FSharpOption<Context>, Event>, Tuple<Contract, FSharpOption<Meta>, Guid, string, string, FSharpOption<DateTimeOffset>>> down, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, ReadOnlyMemory<byte>, Context> Create<Event, Contract, Meta, Context>(FSharpFunc<Tuple<ITimelineEvent<ReadOnlyMemory<byte>>, Contract>, Event> up, FSharpFunc<Event, Tuple<Contract, FSharpOption<Meta>, FSharpOption<DateTimeOffset>>> down, FSharpFunc<Tuple<FSharpOption<Context>, FSharpOption<Meta>>, Tuple<FSharpOption<Meta>, Guid, string, string>> mapCausation, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, ReadOnlyMemory<byte>, object> Create<Event, Contract, Meta>(FSharpFunc<Tuple<ITimelineEvent<ReadOnlyMemory<byte>>, Contract>, Event> up, FSharpFunc<Event, Tuple<Contract, FSharpOption<Meta>, FSharpOption<DateTimeOffset>>> down, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Union, ReadOnlyMemory<byte>, object> Create<Union>(FSharpOption<JsonSerializerOptions> options = null, FSharpOption<bool> rejectNullaryCases = null) where Union : IUnionContract
- public static IEventCodec<Event, ReadOnlyMemory<byte>, Context> Create<Event, Contract, Meta, Context>(Func<ITimelineEvent<ReadOnlyMemory<byte>>, Contract, Event> up, Func<Context, Event, ValueTuple<Contract, FSharpValueOption<Meta>, Guid, string, string, DateTimeOffset>> down, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<Serdes> serdes = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, ReadOnlyMemory<byte>, Context> Create<Event, Contract, Meta, Context>(Func<ITimelineEvent<ReadOnlyMemory<byte>>, Contract, Event> up, Func<Event, ValueTuple<Contract, FSharpValueOption<Meta>, FSharpValueOption<DateTimeOffset>>> down, Func<Context, FSharpValueOption<Meta>, ValueTuple<FSharpValueOption<Meta>, Guid, string, string>> mapCausation, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<Serdes> serdes = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, ReadOnlyMemory<byte>, Unit> Create<Event, Contract, Meta>(Func<ITimelineEvent<ReadOnlyMemory<byte>>, Contract, Event> up, Func<Event, ValueTuple<Contract, FSharpValueOption<Meta>, FSharpValueOption<DateTimeOffset>>> down, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<Serdes> serdes = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Union, ReadOnlyMemory<byte>, Unit> Create<Union>(FSharpOption<JsonSerializerOptions> options = null, FSharpOption<Serdes> serdes = null, FSharpOption<bool> rejectNullaryCases = null) where Union : IUnionContract
-
public static class CodecJsonElement
- public static IEventCodec<Event, JsonElement, Context> Create<Event, Contract, Meta, Context>(FSharpFunc<Tuple<ITimelineEvent<JsonElement>, Contract>, Event> up, FSharpFunc<Tuple<FSharpOption<Context>, Event>, Tuple<Contract, FSharpOption<Meta>, Guid, string, string, FSharpOption<DateTimeOffset>>> down, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, JsonElement, Context> Create<Event, Contract, Meta, Context>(FSharpFunc<Tuple<ITimelineEvent<JsonElement>, Contract>, Event> up, FSharpFunc<Event, Tuple<Contract, FSharpOption<Meta>, FSharpOption<DateTimeOffset>>> down, FSharpFunc<Tuple<FSharpOption<Context>, FSharpOption<Meta>>, Tuple<FSharpOption<Meta>, Guid, string, string>> mapCausation, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, JsonElement, object> Create<Event, Contract, Meta>(FSharpFunc<Tuple<ITimelineEvent<JsonElement>, Contract>, Event> up, FSharpFunc<Event, Tuple<Contract, FSharpOption<Meta>, FSharpOption<DateTimeOffset>>> down, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Union, JsonElement, object> Create<Union>(FSharpOption<JsonSerializerOptions> options = null, FSharpOption<bool> rejectNullaryCases = null) where Union : IUnionContract
- public static IEventCodec<Event, JsonElement, Context> Create<Event, Contract, Meta, Context>(Func<ITimelineEvent<JsonElement>, Contract, Event> up, Func<Context, Event, ValueTuple<Contract, FSharpValueOption<Meta>, Guid, string, string, DateTimeOffset>> down, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<Serdes> serdes = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, JsonElement, Context> Create<Event, Contract, Meta, Context>(Func<ITimelineEvent<JsonElement>, Contract, Event> up, Func<Event, ValueTuple<Contract, FSharpValueOption<Meta>, FSharpValueOption<DateTimeOffset>>> down, Func<Context, FSharpValueOption<Meta>, ValueTuple<FSharpValueOption<Meta>, Guid, string, string>> mapCausation, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<Serdes> serdes = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, JsonElement, Unit> Create<Event, Contract, Meta>(Func<ITimelineEvent<JsonElement>, Contract, Event> up, Func<Event, ValueTuple<Contract, FSharpValueOption<Meta>, FSharpValueOption<DateTimeOffset>>> down, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<Serdes> serdes = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Union, JsonElement, Unit> Create<Union>(FSharpOption<JsonSerializerOptions> options = null, FSharpOption<Serdes> serdes = null, FSharpOption<bool> rejectNullaryCases = null) where Union : IUnionContract
-
public interface IUnionConverterOptions
-
public static class Options
- public static JsonSerializerOptions Create(JsonConverter[] converters, FSharpOption<bool> indent = null, FSharpOption<bool> camelCase = null, FSharpOption<bool> ignoreNulls = null, FSharpOption<bool> unsafeRelaxedJsonEscaping = null, FSharpOption<bool> autoTypeSafeEnumToJsonString = null, FSharpOption<bool> autoUnionToJsonObject = null)
- public static JsonSerializerOptions Create(JsonConverter[] converters, FSharpOption<bool> indent = null, FSharpOption<bool> camelCase = null, FSharpOption<bool> ignoreNulls = null, FSharpOption<bool> unsafeRelaxedJsonEscaping = null, FSharpOption<bool> autoTypeSafeEnumToJsonString = null, FSharpOption<bool> autoUnionToJsonObject = null, FSharpOption<bool> rejectNullStrings = null)
-
public class RejectNullStringConverter : JsonConverter<string>
-
public class Serdes
-
public static class TypeSafeEnum
-
public abstract class StringIdConverter<T> : JsonConverter<T> where T : StringId<T>
-
public abstract class StringIdOrDictionaryKeyConverter<T> : JsonConverter<T> where T : StringId<T>
FsCodec.SystemTextJson.Core