2019-03-08 10:49:17 -08:00
|
|
|
// Copyright 2019 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2019-05-14 12:44:37 -07:00
|
|
|
// Package protojson marshals and unmarshals protocol buffer messages as JSON
|
2019-03-08 10:49:17 -08:00
|
|
|
// format. It follows the guide at
|
2023-02-07 16:41:39 +02:00
|
|
|
// https://protobuf.dev/programming-guides/proto3#json.
|
2019-03-08 10:49:17 -08:00
|
|
|
//
|
2021-04-12 13:48:27 -07:00
|
|
|
// This package produces a different output than the standard [encoding/json]
|
2019-03-08 10:49:17 -08:00
|
|
|
// package, which does not operate correctly on protocol buffer messages.
|
2019-05-14 12:44:37 -07:00
|
|
|
package protojson
|