jsonutil

package
v1.44.328 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: Apache-2.0 Imports: 15 Imported by: 184 modules, 250 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package jsonutil provides JSON serialization of AWS 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 UnmarshalJSONCaseInsensitive added in v1.28.8

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

UnmarshalJSONCaseInsensitive reads a stream and unmarshals the result into the object v. Ignores casing for structure members.

func UnmarshalJSONError added in v1.19.34

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