Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenAtomFoundation/SmartIDE
/ IsJSON
Function
IsJSON
cli/pkg/common/json.go:32–35 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
30
}
31
32
func
IsJSON(s string) bool {
33
var
js
interface
{}
34
return
json.Unmarshal([]byte(s), &js) == nil
35
}
Callers
3
Get
Method · 0.85
Put
Method · 0.85
postRetry
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected