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

Go API

Go documentation

tmux.Session.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
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/marshal.go
MarshalJSON ( ) → ([]byte, error)
method [source]
method [source]
MarshalJSON

MarshalJSON encodes the session's identity and the format expansions tmux returned for it, under "formats". Nothing decodes: a decoded record would carry no Server , so it could name a session it could never act on, and json.Unmarshal into this type reports no error and changes nothing.

0 declared, 0 inherited

Esc

Type to search.