github.com/whiteCcinn/protobuf-go@v1.0.9/encoding/protojson/doc.go (about) 1 // Copyright 2019 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Package protojson marshals and unmarshals protocol buffer messages as JSON 6 // format. It follows the guide at 7 // https://developers.google.com/protocol-buffers/docs/proto3#json. 8 // 9 // This package produces a different output than the standard "encoding/json" 10 // package, which does not operate correctly on protocol buffer messages. 11 package protojson