Example #1
0
// PrintJson pretty prints the given review in JSON format.
func PrintJson(r *review.Review) error {
	json, err := r.GetJson()
	if err != nil {
		return err
	}
	fmt.Println(json)
	return nil
}