jsonx

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

encoding/json的扩展包。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

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

func FormatDef

func FormatDef(data, def string) string

func IsValid

func IsValid(data []byte) bool

func MarshalIndentString

func MarshalIndentString(v interface{}, def string) string

func MarshalString

func MarshalString(v interface{}, def string) string

Types

This section is empty.

Directories

Path Synopsis
用于处理松散的JSON数据。
用于处理松散的JSON数据。
将自定义类型Encode/Decode成JSON的包。
将自定义类型Encode/Decode成JSON的包。

Jump to

Keyboard shortcuts

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