json5

package
v0.0.0-...-af9fb20 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MPL-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTrimNodeReader

func NewTrimNodeReader(r io.Reader) io.Reader

NewTrimNodeReader New returns an io.Reader acting as proxy to r

Types

type TrimNodeReader

type TrimNodeReader struct {
	// contains filtered or unexported fields
}

func (*TrimNodeReader) Read

func (st *TrimNodeReader) Read(p []byte) (n int, err error)

Read acts as a proxy for the underlying reader and cleans p of comments and trailing commas preceeding ] and } comments are delimitted by // up until the end the line

Jump to

Keyboard shortcuts

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