 import Foundation
 
 func ==(lhs: JSONValue, rhs: JSONValue) -> Bool {
-    switch lhs{
+    switch lhs {
     case .JNumber(let lvalue):
         switch rhs {
         case .JNumber(let rvalue):

        }
    }
    
    func getLogicValue() -> Bool{
        switch self{
        case .JInvalid:
            return false
        default:

        case let value as NSData:
            if let jsonObject : AnyObject = NSJSONSerialization.JSONObjectWithData(value, options: NSJSONReadingOptions.MutableContainers, error: nil){
                self = JSONValue(jsonObject)
            } else {
                self = JSONValue.JInvalid
            }
        case let value as NSNumber:
            if String.fromCString(value.objCType) == "c" {
                self = .JBool(value.boolValue)
                return
            }
