json

package
v0.0.0-...-c229084 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(key string, defaultValue string, body string) string

Get 从json中提取单个值

func GetArray

func GetArray(key string, body string) []string

GetArray 从json提取array

func Gets

func Gets(key string, defaultValue string, body string) string

Gets 从json中提取单个值,可以使用逗号分割多个key作为备选

Types

This section is empty.

Jump to

Keyboard shortcuts

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