Documentation ¶
Overview ¶
Package jsonutil provides JSON serialization of AWS requests and responses.
Index ¶
- func BuildJSON(v interface{}) ([]byte, error)
- func BuildJSONBuffered(v interface{}, buf *bytes.Buffer) ([]byte, error)
- func UnmarshalJSON(v interface{}, stream io.Reader) error
- func UnmarshalJSONCaseInsensitive(v interface{}, stream io.Reader) error
- func UnmarshalJSONError(v interface{}, stream io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildJSONBuffered ¶
BuildJSONBuffered builds a JSON string for a given object v, putting the result into supplied buffer.
func UnmarshalJSON ¶
UnmarshalJSON reads a stream and unmarshals the results in object v.
func UnmarshalJSONCaseInsensitive ¶
UnmarshalJSONCaseInsensitive reads a stream and unmarshals the result into the object v. Ignores casing for structure members.
func UnmarshalJSONError ¶
UnmarshalJSONError unmarshal's the reader's JSON document into the passed in type. The value to unmarshal the json document into must be a pointer to the type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.