import "istio.io/istio/pkg/util/protomarshal"
ApplyJSON unmarshals a JSON string into a proto message.
ApplyJSONStrict unmarshals a JSON string into a proto message.
ApplyYAML unmarshals a YAML string into a proto message. Unknown fields are allowed.
TODO(https://github.com/golang/protobuf/issues/1155) switch to upstream implementation
ToJSON marshals a proto to canonical JSON
ToJSONMap converts a proto message to a generic map using canonical JSON encoding JSON encoding is specified here: https://developers.google.com/protocol-buffers/docs/proto3#json
ToJSONWithIndent marshals a proto to canonical JSON with pretty printed string
ToYAML marshals a proto to canonical YAML
Package protomarshal imports 9 packages (graph) and is imported by 4 packages. Updated 2020-10-20. Refresh now. Tools for package owners.