blob: 00ea2fecfb79cd342b06a62f696205c22118fc21 [file] [log] [blame]
David K. Bainbridgebd6b2882021-08-26 13:31:02 +00001// 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.
11package protojson