package json
import "k8s.io/client-go/1.5/pkg/util/json"
Index ¶
- func Marshal(v interface{}) ([]byte, error)
- func NewEncoder(w io.Writer) *json.Encoder
- func Unmarshal(data []byte, v interface{}) error
Functions ¶
func Marshal ¶
Marshal delegates to json.Marshal It is only here so this package can be a drop-in for common encoding/json uses
func NewEncoder ¶
NewEncoder delegates to json.NewEncoder It is only here so this package can be a drop-in for common encoding/json uses
func Unmarshal ¶
Unmarshal unmarshals the given data If v is a *map[string]interface{}, numbers are converted to int64 or float64
Source Files ¶
json.go
- Version
- v1.5.0
- Published
- Oct 23, 2016
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 3 minutes ago –
Tools for package owners.