MCPcopy Create free account
hub / github.com/danielpaulus/quicktime_video_hack / printJSON

Function printJSON

main.go:468–474  ·  view source on GitHub ↗
(output map[string]interface{})

Source from the content-addressed store, hash-verified

466 })
467}
468func printJSON(output map[string]interface{}) {
469 text, err := json.Marshal(output)
470 if err != nil {
471 log.Fatalf("Broken json serialization, error: %s", err)
472 }
473 println(string(text))
474}
475
476//this is to ban these irritating "2021/04/29 14:27:59 handle_events: error: libusb: interrupted [code -10]" libusb messages
477type LogrusWriter int

Callers 5

printVersionFunction · 0.85
devicesFunction · 0.85
activateFunction · 0.85
deactivateFunction · 0.85
printErrJSONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected