write

package
v0.0.0-...-02bf512 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package write writes JSON objects

SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustWrite

func MustWrite(jv json.Value, dst writer.Writer[rune])

MustWrite is a must version of Write

func MustWriteArray

func MustWriteArray(jv json.Value, dst writer.Writer[rune])

MustWriteArray is a must version of WriteArray

func MustWriteObject

func MustWriteObject(jv json.Value, dst writer.Writer[rune])

MustWriteObject is a must version of WriteObject

func Write

func Write(jv json.Value, dst writer.Writer[rune]) error

Write writes any value to a writer

func WriteArray

func WriteArray(jv json.Value, dst writer.Writer[rune]) error

WriteArray writes an array to a writer

func WriteObject

func WriteObject(jv json.Value, dst writer.Writer[rune]) error

WriteObject writes an object to a writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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