blob: ae71007c18b912adb6cf0207f640f57d766fa6a7 [file] [log] [blame]
khenaidoo106c61a2021-08-11 18:05:46 -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
Akash Reddy Kankanalac6b6ca12025-06-12 14:26:57 +05307// https://protobuf.dev/programming-guides/proto3#json.
khenaidoo106c61a2021-08-11 18:05:46 -04008//
Abhay Kumara61c5222025-11-10 07:32:50 +00009// This package produces a different output than the standard [encoding/json]
khenaidoo106c61a2021-08-11 18:05:46 -040010// package, which does not operate correctly on protocol buffer messages.
11package protojson