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. Marshal JSON - Package
- tmux
- Declared in
Session- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/marshal.go