1. Redesigned Quark's rules to make it easier to write.
{
"crime": "Get absolute path of file and put it to JSON object",
"permission": [],
"api": [
{
"class": "Ljava/io/File;",
"method": "getAbsolutePath",
"descriptor": "()Ljava/lang/String;"
},
{
"class": "Lorg/json/JSONObject;",
"method": "put",
"descriptor": "(Ljava/lang/String; Ljava/lang/Object;)Lorg/json/JSONObject;"
}
],
"score": 1,
"label": [
"file"
]
}