mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-04-07 13:22:52 +00:00
https://developers.google.com/protocol-buffers/ states that this site will be deprecated January 2023 and provides https://protobuf.dev/ as a link to the new location. Generated .pb.go files are created by generate.bash using Go 1.18, so leave them unchanged for now. Fixes golang/protobuf#1520. Change-Id: I1ddf6f329c96ba05d7c7d8562ad2945f479ee09b Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/466375 Reviewed-by: Michael Stapelberg <stapelberg@google.com> Reviewed-by: Lasse Folger <lassefolger@google.com>
12 lines
502 B
Go
12 lines
502 B
Go
// 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.
|
|
|
|
// Package protojson marshals and unmarshals protocol buffer messages as JSON
|
|
// format. It follows the guide at
|
|
// https://protobuf.dev/programming-guides/proto3#json.
|
|
//
|
|
// This package produces a different output than the standard "encoding/json"
|
|
// package, which does not operate correctly on protocol buffer messages.
|
|
package protojson
|