V1.0.3 (to/from json convert)

This commit is contained in:
REAndroid 2022-11-30 11:16:56 -05:00
parent 625baa03f1
commit 1523b6341d

View File

@ -18,6 +18,10 @@
//refresh to recalculate offsets
tableBlock.refresh();
//convert to json object
JSONObject jsonObject=tableBlock.toJson();
System.out.println(jsonObject.toString(4));
//save the edited table
File outFile=new File("resources_out.arsc");
tableBlock.writeBytes(outFile);