MCPcopy Create free account
hub / github.com/DNAProject/DNA / PrintJsonObject

Function PrintJsonObject

cmd/usage.go:458–465  ·  view source on GitHub ↗
(obj interface{})

Source from the content-addressed store, hash-verified

456}
457
458func PrintJsonObject(obj interface{}) {
459 data, err := json.Marshal(obj)
460 if err != nil {
461 PrintErrorMsg("json.Marshal error:%s", err)
462 return
463 }
464 PrintJsonData(data)
465}

Callers 1

showTxFunction · 0.85

Calls 3

PrintErrorMsgFunction · 0.85
PrintJsonDataFunction · 0.85
MarshalMethod · 0.80

Tested by

no test coverage detected