- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for yamlToPrettyJSON (0.11 sec)
-
operator/cmd/mesh/profile-dump.go
return "", err } out2, err := util.OverlayYAML(istioOperatorTreeString, out) if err != nil { return "", err } return out2, nil } // Convert the generated YAML to pretty JSON. func yamlToPrettyJSON(yml string) (string, error) { // YAML objects are not completely compatible with JSON // objects. Let yaml.YAMLToJSON handle the edge cases and // we'll re-encode the result to pretty JSON.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 7.1K bytes - Viewed (0)