Files
livekit-3d/cmd/cli/commands/print.go
T
2020-11-03 22:01:54 -08:00

12 lines
145 B
Go

package commands
import (
"encoding/json"
"fmt"
)
func PrintJSON(obj interface{}) {
txt, _ := json.Marshal(obj)
fmt.Println(string(txt))
}