Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

JSONValue.encode(to:)

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

API reference · Markdown

JSONValue.encode(to:) ( to : any Encoder ) → ()
method [source]
method [source]
JSONValue.encode(to:)

Encodes this value into the given encoder.

If the value fails to encode anything, encoder will encode an empty keyed container in its place.

This function throws an error if any values are invalid for the given encoder's format.

  • Parameter encoder: The encoder to write data to.
Esc

Type to search.