json

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MIT Imports: 6 Imported by: 2

Documentation

Overview

The json package is used to serialize between rbxdump and Roblox JSON API dump format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(r io.Reader) (root *rbxdump.Root, err error)

Decode parses an API dump from r in JSON format.

func Encode

func Encode(w io.Writer, root *rbxdump.Root) (err error)

Encode encodes root, writing the results to w in the API dump JSON format.

Types

type VersionError

type VersionError interface {
	error
	// VersionError returns the unsupported version.
	VersionError() int
}

VersionError is an error indicating that the version of the JSON format is unsupported.

Jump to

Keyboard shortcuts

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