mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-30 22:34:24 +02:00
V1.0.3 (to/from json convert)
This commit is contained in:
parent
625baa03f1
commit
1523b6341d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user