jsonparser

package
v0.0.0-...-bf5f488 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseJSON

func ParseJSON(r io.Reader, v interface{}) error

The package defines a function ParseJSON that takes a reader r and a value v * as a parameter and it uses the json.NewDecoder(r) function to create a new * decoder that reads from the r reader. It then uses the dec.Decode(v) function to decode json data from the reader and store the result in the value v. It returns error if it fails otherwise it will return nil.

ParseJSON parses json data from a reader

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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