package sessionUtils import ( "encoding/json" ) func ConvertServerSessionsToJSON(s Session) []byte { s_json, err := json.Marshal(s) _ = err //TODO: Check Errors return s_json }