         }
     }
     
-    var isNull: Bool {
+    public var stringOrNil: NSString? {
+        switch value {
+        case let .String(string):
+            return string
+        default:
+            return nil
+        }
+    }
+    
+    public var isNull: Bool {
         switch value {
         case .Null:
             return true

                case let convertible as JSONConvertible:
                    return convertible.json
                default:
                    return JSON.Null()
                }
            default:
                return JSON.Null()
            }
        }
        set {

        }
    }
    
    public var count: Int {
        switch value {
        case let .Object(dictionary):
            return dictionary.count
