Converter JSON Configuration File Sample

The following is an example of the converter JSON configuration.

Note that if you are using Unix/Linux OS, replace all \\ references with / and all semicolons (;) with colons (:):

{
    "inputConfig": {
        "CAP_AID": "01:02:03:04:05:10",
        "CAP_name": "hellosample", 
        "CAP_version":"1.0", 
        "debug": true,
        "noverify":false, 
        "verbose": true,
        "outputDir": "thecapfile",
        "exportPath": ".;.\\package1", 
        "inputPackages":[{
            "baseDir":"package1", 
            "PackageName": "com.lib", 
            "PackageAID": "01:02:03:04:05:06",
            "public": true, 
            "JCA": true,
            "EXP": true, 
            "exportmap": true, 
            "version": "1.1"
        },{
            "PackageName": "com.mine", 
            "baseDir":"package2", 
            "public": false,
            "JCA": true,
            "EXP": false, 
            "exportmap": false,
         },{
            "PackageName": "com.sample", 
            "PackageAID": "01:02:03:04:05:07",
            "baseDir": "package3", 
            "public": true, 
            "version": "1.0", 
            "JCA": true,
            "EXP": true, 
            "exportmap": false, 
            "applets": [{
                "ClassAID": "01:02:03:04:05:07:01",
                "ClassName": "com.sample.MyApplet"
            }]
        }],
        "staticResources":[{ 
            "id" : 1,
            "file" : "staticres\\static1.res"
        },{
            "id": 2,
            "file" : "staticres\\static2.res"
        }]
    }
}