connectjson

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package connectjson implements encoding of Zed values to the format produced by org.apache.kafka.connect.json.JsonConverter and decoding of Zed values from that format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(val *zed.Value) ([]byte, error)

func Walk

func Walk(typ zed.Type, body zcode.Bytes, visit zed.Visitor) error

Types

type Decoder

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

func NewDecoder

func NewDecoder(zctx *zed.Context) *Decoder

func (*Decoder) Decode

func (c *Decoder) Decode(b []byte) (*zed.Value, error)

Jump to

Keyboard shortcuts

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