Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
458
func
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
showTx
Function · 0.85
Calls
3
PrintErrorMsg
Function · 0.85
PrintJsonData
Function · 0.85
Marshal
Method · 0.80
Tested by
no test coverage detected