...

Source file src/google.golang.org/protobuf/encoding/protojson/doc.go

Documentation: google.golang.org/protobuf/encoding/protojson

     1  // 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
     7  // https://protobuf.dev/programming-guides/proto3#json.
     8  //
     9  // This package produces a different output than the standard [encoding/json]
    10  // package, which does not operate correctly on protocol buffer messages.
    11  package protojson
    12  

View as plain text