View definition

func NewValueFromReader

Defined in github.com/antonholmquist/jason/jason.go

Description

Creates a new value from an io.reader. Returns an error if the reader does not contain valid json. Useful for parsing the body of a net/http response. Example: NewFromReader(res.Body)

NewValueFromReader is referenced in 3 repositories

github.com/antonholmquist/jason github.com/ibmendoza/go-examples github.com/debackerl/pgasus