jsonutil - ActiveState ActiveGo 1.8

Package jsonutil

import "github.com/aws/aws-sdk-go/private/protocol/json/jsonutil"

Overview ▾

Package jsonutil provides JSON serialization of AWS requests and responses.

func BuildJSON

func BuildJSON(v interface{}) ([]byte, error)

BuildJSON builds a JSON string for a given object v.

func UnmarshalJSON

func UnmarshalJSON(v interface{}, stream io.Reader) error

UnmarshalJSON reads a stream and unmarshals the results in object v.