MCPcopy 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
18export 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

parseMethod · 0.65
logMethod · 0.45

Tested by

no test coverage detected