github.com/prometheus/common/model.String.MarshalJSON (method)

one use

	github.com/prometheus/common/model (current package)
		value.go#L344: func (s String) MarshalJSON() ([]byte, error) {