         self = .Boolean(value)
     }
     
+    /** 
+    * Boolean value of this JSON, only for bool value
+    */
     public var bool : Bool? {
         switch self {
             case .Boolean(let x): return x

        self = .Number(Double(value))
    }
    
    public var int : Int? {
        switch self {
            case .Number(let x): return Int(x)

        }
    }
    
    /** 
    * Single floating value of this JSON, only for number value
    */
    public var float : Float? {
        switch self {
            case .Number(let x): return Float(x)
