updated
diff --git a/jsonLoader.go b/jsonLoader.go
index 0c83ba6..a77a81e 100644
--- a/jsonLoader.go
+++ b/jsonLoader.go
@@ -37,7 +37,7 @@
 	"path/filepath"
 	"runtime"
 	"strings"
-	"fmt"
+
 
 	"github.com/xeipuuv/gojsonreference"
 )
@@ -335,13 +335,7 @@
 	if err != nil {
 		return nil, err
 	}
-	_, isSlice := document.([]interface{})
-	_, isMap := document.(map[string]interface{})
-
-	if !isSlice && !isMap {
-		return nil, fmt.Errorf("Parse Error:Invalid JSON")
-	}
-
+	
 	return document, nil
 
 }