//ImportBookFromJSON import Reviews data with JSON format
ImportBookFromJSON import Reviews data with JSON format
// ImportBookFromJSON import Reviews data with JSON format
func ImportBookFromJSON(r io.Reader) (*Book, error) {
	dec := json.NewDecoder(r)
	bk := Book{}
	err := dec.Decode(&bk)
	return &bk, errs.Wrap(err)
}
func ImportBookFromJSON ( r io . Reader ) ( * Book , error ) { dec := json . NewDecoder ( r ) bk := Book { } err := dec . Decode ( & bk ) return & bk , errs . Wrap ( err ) }
ImportBookFromJSON import Reviews data with JSON format
ImportBookFromJSON import Reviews data with JSON format