MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / ConvertRawJSON

Method ConvertRawJSON

pkg/telemetry/telemetrydata/telemetrydata.go:240–245  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

238}
239
240func (t *TEvent) ConvertRawJSON() error {
241 if t.RawProps != "" {
242 return json.Unmarshal([]byte(t.RawProps), &t.Props)
243 }
244 return nil
245}
246
247var eventNameRe = regexp.MustCompile(`^[a-zA-Z0-9.:_/-]+$`)
248

Callers 1

GetNonUploadedTEventsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected