code: func Type(v interface{}) ValueType {
  	t := Unknown
  	switch v.(type) {
  	case nil:
  		t = Null
  	case bool:
  		t = Bool
  	case string:
  		t = String
  	case float64:
  		t = Number
  	case []interface{}:
  		t = Array
  	case map[string]interface{}:
  		t = Object
  	}
  	return t
  }
docs: // Type returns the JSON-type of the given value