MCPcopy Create free account
hub / github.com/github/copilot-sdk / Marshal

Method Marshal

go/rpc/zsession_encoding.go:13–15  ·  view source on GitHub ↗

Marshal serializes the SessionEvent to JSON.

()

Source from the content-addressed store, hash-verified

11
12// Marshal serializes the SessionEvent to JSON.
13func (r *SessionEvent) Marshal() ([]byte, error) {
14 return json.Marshal(r)
15}
16
17func (e *SessionEvent) UnmarshalJSON(data []byte) error {
18 type rawEvent struct {

Calls

no outgoing calls