JSONExport

2023-01-13  本文已影响0人  迷路的小小

Supported Languages

{
    "modelStart": "{\n",
    "importForEachCustomType": "",
    "reservedKeywords": [
                         "abstract",
                         "assert",
                         "boolean",
                         "break",
                         "byte",
                         "case",
                         "catch",
                         "char",
                         "class",
                         "const",
                         "continue",
                         "default",
                         "do",
                         "double",
                         "else",
                         "enum",
                         "extends",
                         "false",
                         "final",
                         "finally",
                         "float",
                         "for",
                         "goto",
                         "if",
                         "implements",
                         "import",
                         "instanceof",
                         "int",
                         "interface",
                         "long",
                         "native",
                         "new",
                         "null",
                         "package",
                         "private",
                         "protected",
                         "public",
                         "return",
                         "short",
                         "static",
                         "strictfp",
                         "super",
                         "switch",
                         "synchronized",
                         "this",
                         "throw",
                         "throws",
                         "transient",
                         "true",
                         "try",
                         "void",
                         "volatile",
                         "while",
                         "class",
                         "description"
                         ],
    "booleanGetter": "",
    "briefDescription": "Defines how your JSON objects can be mapped to Swift structures using the built-in NSJSONSerialization class",
    "utilityMethods": [],
    "dataTypes": {
        "stringType": "String",
        "boolType": "Bool",
        "floatType": "Float",
        "doubleType": "Double",
        "characterType": "Character",
        "longType": "Double",
        "intType": "Int"
    },
    "dataTypeZeros": {
        "String": "\"\"",
        "Bool": "false",
        "Float": "0.0",
        "Double": "0.0",
        "Character":"\"\"",
        "Double": "0.0",
        "Int": "0"
    },
    "wordsToRemoveToGetArrayElementsType": [],
    "constructors": [{
        "fetchBasicTypeWithSpecialNeedsPropertyFromMap": "",
        "bodyStart": "",
        "bodyEnd": "",
        "fetchBasicTypePropertyFromMap": "",
        "signature": "\trequired init() {}",
        "fetchArrayOfCustomTypePropertyFromMap": "",
        "comment": "",
        "fetchCustomTypePropertyFromMap": ""
        }],
    "modelDefinition": "\n\nclass <!ModelName!> : HandyJSON ",
    "genericType": "AnyObject",
    "getter": "",
    "setter": "",
    "fileExtension": "swift",
    "arrayType": "[<!ElementType!>]",
    "basicTypesWithSpecialFetchingNeeds": [
    ],
    "displayLangName": "Swift - HandyJSON",
    "instanceVarDefinition": "\tvar <!JsonKeyName!> : <!VarType!> = <!JsonValueName!>\n",
    "supportsFirstLineStatement": "false",
    "modelEnd": "\n}",
    "staticImports": "import HandyJSON",
    "langName": "Swift"
}
上一篇 下一篇

猜你喜欢

热点阅读