Encode
module Encode| Assembly | Ranvier.Wire |
| Attributes | [<RequireQualifiedAccess>] |
Functions and values
helpers: IEncoderHelpers<JsonNode>
helpers: IEncoderHelpers<JsonNode>Builds a JsonNode, so an encoder written against Thoth.Json.Core runs on System.Text.Json.
toString (space: int) (value: IEncodable) : string
toString (space: int) (value: IEncodable) : stringWrite an encodable as a JSON string, indented by the given number of spaces. Pass 0 for a single line.
toStringWithOptions (options: JsonSerializerOptions) (value: IEncodable) : string
toStringWithOptions (options: JsonSerializerOptions) (value: IEncodable) : stringWrite an encodable as a JSON string with caller-supplied JsonSerializerOptions, giving control over indentation, escaping and depth.