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

tmux.Snapshot.MarshalJSON

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

View as Markdown

Module
tmux
Declared in
Snapshot
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/marshal.go
MarshalJSON ( ) → ([]byte, error)
method [source]
method [source]
MarshalJSON

MarshalJSON encodes the snapshot's tmux version and the records it holds. A kind it listed encodes as an array, empty when tmux reported none; a kind it never listed is absent. Those are different answers, and one field cannot spell both, which is why the arrays are pointers here. Nothing decodes; see Session.MarshalJSON .

0 declared, 0 inherited

Esc

Type to search.