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
Copy file name to clipboardExpand all lines: src/FsCodec.SystemTextJson/Encoding.fs
+5-11Lines changed: 5 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,6 @@ open System.Text.Json
10
10
/// Represents the body of an Event (or its Metadata), holding the encoded form of the buffer together with an enum value identifying the encoding scheme.
11
11
/// Enables the decoding side to transparently inflate the data on loading without burdening the application layer with tracking the encoding scheme used.
12
12
typeEncoded=(struct(int * JsonElement))
13
-
typeBlobEncoded= FsCodec.EncodedBody
14
-
15
-
moduleEncoding =
16
-
let [<Literal>]Direct=0// Assumed for all values not listed here
17
-
let [<Literal>]Deflate=1// Deprecated encoding produced by versions pre 3.0.0-rc.13; no longer produced
18
-
let [<Literal>]Brotli=2// Default encoding as of 3.0.0-rc.13
Impl.decode_(fun el -> JsonSerializer.Serialize(ms, el))(fun dec -> dec ms) x
@@ -169,6 +163,6 @@ type Encoder private () =
169
163
170
164
/// <summary>Adapts an <c>IEventCodec</c> rendering to <c>int * ReadOnlyMemory<byte></c> Event Bodies to encode to JsonElement, with the Decode side of the roundtrip not attempting to Compress.</summary>
0 commit comments