From 8f94dcb853e6cebcfeed015e86ba24af2ae49e06 Mon Sep 17 00:00:00 2001 From: Michael Banzon Date: Mon, 17 Mar 2014 22:10:21 +0100 Subject: [PATCH] Added comment. --- parsing.go | 1 + 1 file changed, 1 insertion(+) diff --git a/parsing.go b/parsing.go index 6d395a3..91af696 100644 --- a/parsing.go +++ b/parsing.go @@ -5,6 +5,7 @@ import ( "encoding/xml" ) +// Parses the HTTPResponse as JSON to the given interface. func (r *HTTPResponse) ParseFromJSON(v interface{}) error { return json.Unmarshal(r.Data, v) }