blob: 00ea2fecfb79cd342b06a62f696205c22118fc21 [file] [log] [blame]
amit.ghosh258d14c2020-10-02 15:13:38 +02001// 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