MCPcopy Create free account
hub / github.com/auth0/auth0-cli / toJSONString

Function toJSONString

internal/display/display.go:361–372  ·  view source on GitHub ↗
(data interface{})

Source from the content-addressed store, hash-verified

359}
360
361func toJSONString(data interface{}) (string, error) {
362 if data == nil {
363 return "", nil
364 }
365
366 raw, err := json.Marshal(data)
367 if err != nil {
368 return "", err
369 }
370
371 return string(raw), nil
372}

Callers 6

makePhoneProviderViewFunction · 0.85
makeEmailProviderViewFunction · 0.85
makeCustomDomainViewFunction · 0.85
makeEventStreamViewFunction · 0.85
makeAPIViewFunction · 0.85
makeLogStreamViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected