Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

Session.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.

Source and package
Qualified name
tmux.Session.MarshalJSON
Package
tmux
Declared in
Session
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/marshal.go
func (s Session) MarshalJSON() ([]byte, error)
Esc

Type to search.

Reference previewOpen reference