-
I have a JSON file in a git repository. {
"steps": {
"test_!": {
"skip": "false",
"resources": {
"requests": {
"cpu": "100m",
"memory": "512Mi"
},
"limits": {
"cpu": "200m"
"memory": "1024Mi"
}
}
},
"test_2": {
"resources": {
"requests": {
"cpu": "100m"
},
"limits": {
"cpu": "200m",
"memory": "512Mi"
}
}
}
}
} I'm using Someone how I can solve this problem? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Please advise if there is a solution for this, thanks. |
Beta Was this translation helpful? Give feedback.
You mean you want to convert the Go map to a JSON string? In 3.4 you can try
asStr(v)
, or in 3.5 you can trystring(v)
or perhapstoJSON(v)