json5

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: MIT Imports: 5 Imported by: 7

Documentation

Overview

Package json5 provides JSON5 decoder.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Downgrade

func Downgrade(data []byte) ([]byte, error)

Downgrade converts JSON5 to JSON.

func Unmarshal

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

Unmarshal parses the JSON5-encoded data and stores the result in the value pointed to by v.

func Valid

func Valid(data []byte) (isValid bool)

Valid checks if bytes are a valid JSON5 payload.

Types

This section is empty.

Jump to

Keyboard shortcuts

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