json

package
v0.0.21-0...-74e3a9f Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCodec

func NewCodec(out io.Writer, opts ...codec.Option) codec.Encoder

Types

type Encoder

type Encoder struct {
	// contains filtered or unexported fields
}

func (*Encoder) Encode

func (enc *Encoder) Encode(rec sdk.Record) error

func (*Encoder) Options

func (enc *Encoder) Options() codec.Options

Options of current configuration

type Resource

type Resource resource.Resource

func (Resource) MarshalJSON

func (e Resource) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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