json

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONParser

type JSONParser struct{}

JSONParser parses JSON configuration files into protobuf messages.

func NewJSONParser

func NewJSONParser() *JSONParser

NewJSONParser creates a JSON parser. This is called by the config package to register the default JSON parser.

func (*JSONParser) Extensions

func (p *JSONParser) Extensions() []string

func (*JSONParser) Unmarshal

func (p *JSONParser) Unmarshal(data []byte, path string, msg proto.Message, strict bool) error

Jump to

Keyboard shortcuts

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