fvdm/nodejs-piwik — pull request #1 by engelfrost (2014-12-19 07:32:21+00:00)
Title: Match JSON even when Piwik does not send an array

Added regexps to match both [ and {.
Also removed a duplicate trim().