                     if !codableValue{
                         stringToPrint += "//"
                     }
-                    stringToPrint += "var \(nameReplacedKey): "
+                    stringToPrint += "var \(nameReplacedKey):"
                     if string == "NSString" {
                         string = "String"
                         stringToPrint += "\(string)"
+                        if !useStruct{
+                            stringToPrint += " = \"\""
+                        }
                     }else if string == "NSNumber"{
                         //char, short int, int, long int, long long int, float, or double or as a BOOL
                         // “c”, “C”, “s”, “S”, “i”, “I”, “l”, “L”, “q”, “Q”, “f”, and “d”.

            
        }
        if let printObject = jsonObject as? [String:AnyObject] {
            for (key,value) in printObject{
                let nameReplacedKey = nameReplace(with: key)
                stringToPrint += crlf
                stringToPrint += indent

        stringToPrint += " "
        stringToPrint += getClassOrStructName()
        stringToPrint += " "
        stringToPrint += "\(className): Codable {"
        codingKeys = "    enum CodingKeys: String, CodingKey {" + crlf
//        var varList:String = String()
        var jsonObject:Any? = nil
