jsonx

package
v0.0.0-...-cb58a95 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 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