API Diff between 3.0.3 and 3.0.0-rc.5
25 Additions
13 Removals
FsCodec.SystemTextJson
-
public static class Codec
- public static IEventCodec<Event, ReadOnlyMemory<byte>, Context> Create<Event, Contract, Meta, Context>(FSharpFunc<ValueTuple<ITimelineEvent<ReadOnlyMemory<byte>>, Contract>, Event> up, FSharpFunc<ValueTuple<Context, Event>, ValueTuple<Contract, FSharpValueOption<Meta>, Guid, string, string, FSharpValueOption<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<ValueTuple<ITimelineEvent<ReadOnlyMemory<byte>>, Contract>, Event> up, FSharpFunc<Event, ValueTuple<Contract, FSharpValueOption<Meta>, FSharpValueOption<DateTimeOffset>>> down, FSharpFunc<ValueTuple<Context, FSharpValueOption<Meta>>, ValueTuple<FSharpValueOption<Meta>, Guid, string, string>> mapCausation, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, ReadOnlyMemory<byte>, Unit> Create<Event, Contract, Meta>(FSharpFunc<ValueTuple<ITimelineEvent<ReadOnlyMemory<byte>>, Contract>, Event> up, FSharpFunc<Event, ValueTuple<Contract, FSharpValueOption<Meta>, FSharpValueOption<DateTimeOffset>>> down, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Union, ReadOnlyMemory<byte>, Unit> 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<ValueTuple<ITimelineEvent<JsonElement>, Contract>, Event> up, FSharpFunc<ValueTuple<Context, Event>, ValueTuple<Contract, FSharpValueOption<Meta>, Guid, string, string, FSharpValueOption<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<ValueTuple<ITimelineEvent<JsonElement>, Contract>, Event> up, FSharpFunc<Event, ValueTuple<Contract, FSharpValueOption<Meta>, FSharpValueOption<DateTimeOffset>>> down, FSharpFunc<ValueTuple<Context, FSharpValueOption<Meta>>, ValueTuple<FSharpValueOption<Meta>, Guid, string, string>> mapCausation, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, JsonElement, Unit> Create<Event, Contract, Meta>(FSharpFunc<ValueTuple<ITimelineEvent<JsonElement>, Contract>, Event> up, FSharpFunc<Event, ValueTuple<Contract, FSharpValueOption<Meta>, FSharpValueOption<DateTimeOffset>>> down, FSharpOption<JsonSerializerOptions> options = null, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Union, JsonElement, Unit> 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