Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ actionToObject
Function
actionToObject
ui/src/utils/permissions.js:18–25 ·
view source on GitHub ↗
(json)
Source
from the content-addressed store, hash-verified
16
// under the License.
17
18
export
function
actionToObject (json) {
19
try {
20
return
JSON.parse(json)
21
} catch (e) {
22
console.log(
'err'
, e.message)
23
}
24
return
[]
25
}
Callers
nothing calls this directly
Calls
2
parse
Method · 0.65
log
Method · 0.45
Tested by
no test coverage detected