Merge pull request #67 from bcho/patch-1

Add `arrayOrMap` result description
This commit is contained in:
Josh Baker
2018-03-01 11:15:57 -07:00
committed by GitHub

View File

@@ -583,6 +583,8 @@ func (t Result) Exists() bool {
// Number, for JSON numbers
// string, for JSON string literals
// nil, for JSON null
// map[string]interface{}, for JSON objects
// []interface{}, for JSON arrays
//
func (t Result) Value() interface{} {
if t.Type == String {