diff --git a/Event.php b/Event.php
index <HASH>..<HASH> 100644
--- a/Event.php
+++ b/Event.php
@@ -38,7 +38,7 @@ class Event
 	{
 		if (!is_array($json))
 		{
-			$json = json_decode($json);
+			$json = json_decode($json, true);
 		}
 
 		$this->json = $json;
Fatal error: Cannot use object of type stdClass as array