blob: ae71007c18b912adb6cf0207f640f57d766fa6a7 [file] [log] [blame]
khenaidoo26721882021-08-11 17:42:52 -04001// 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
Abhay Kumar40252eb2025-10-13 13:25:53 +00007// https://protobuf.dev/programming-guides/proto3#json.
khenaidoo26721882021-08-11 17:42:52 -04008//
Abhay Kumar40252eb2025-10-13 13:25:53 +00009// This package produces a different output than the standard [encoding/json]
khenaidoo26721882021-08-11 17:42:52 -040010// package, which does not operate correctly on protocol buffer messages.
11package protojson