 public enum Value {
     case StringType(String)
     case NumberType(NSNumber)
+    
     case NullType(NSNull)
     
     // json object types

// initialization of Value instances
extension Value {
    
    public init? (_ val:AnyObject) {
        if let v = val as? String {
            self = .StringType(v)
        }
            
        else if let v = val as? NSNumber {
            self = .NumberType(v)
        }

        }
        
    }
    
  
    public var num:NSNumber? {
        switch self {
        case .NumberType(let num):
