                 return self.rawNumber
             case .Bool:
                 return self.rawNumber
-            default:
+            case .Unknown:
+                return self.rawUnknown!
+            case .Null:
                 return self.rawNull
             }
         }

extension JSON: Swift.RawRepresentable {
    
    public init?(rawValue: AnyObject) {
        if JSON(rawValue).type == .Unknown {
            return nil
        } else {
            self.init(rawValue)
        }
    }
    
    public var rawValue: AnyObject {

            return self.rawNumber.stringValue
        case .Bool:
            return self.rawNumber.boolValue.description
        case.Unknown:
            return self.rawUnknown!.description
        case .Null:
            return "null"
        }
    }
}
