pbjson

package
v1.11.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package pbjson marshals proto messages to JSON the way the OpenAPI contract describes them: 64-bit integers are JSON numbers, not the quoted strings the canonical proto3 JSON mapping demands. Everything else — lowerCamel field names, enums by name, unpopulated fields present (null for explicit-presence fields), well-known types in their canonical shape — matches protojson with EmitUnpopulated.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(message proto.Message) ([]byte, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL