json

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: MIT Imports: 1 Imported by: 170

Documentation

Overview

Package json implements a koanf.Parser that parses JSON bytes as conf maps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSON

type JSON struct{}

JSON implements a JSON parser.

func Parser

func Parser() *JSON

Parser returns a JSON Parser.

func (*JSON) Parse

func (p *JSON) Parse(b []byte) (map[string]interface{}, error)

Parse parses the given JSON bytes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳