blob: ae71007c18b912adb6cf0207f640f57d766fa6a7 [file] [log] [blame]
khenaidoof3333552021-12-15 16:52:31 -05001// 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
Akash Reddy Kankanala92dfdf82025-03-23 22:07:09 +05307// https://protobuf.dev/programming-guides/proto3#json.
khenaidoof3333552021-12-15 16:52:31 -05008//
Akash Reddy Kankanala92dfdf82025-03-23 22:07:09 +05309// This package produces a different output than the standard [encoding/json]
khenaidoof3333552021-12-15 16:52:31 -050010// package, which does not operate correctly on protocol buffer messages.
11package protojson