jsonutil

package
v0.0.0-...-59aefbc Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package jsonutil provides JSON serialization of VOLCSTACK requests and responses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildJSON

func BuildJSON(v interface{}) ([]byte, error)

BuildJSON builds a JSON string for a given object v.

func UnmarshalJSON

func UnmarshalJSON(v interface{}, stream io.Reader) error

UnmarshalJSON reads a stream and unmarshals the results in object v.

func UnmarshalJSONError

func UnmarshalJSONError(v interface{}, stream io.Reader) error

UnmarshalJSONError unmarshal's the reader's JSON document into the passed in type. The value to unmarshal the json document into must be a pointer to the type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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