From 1523b6341d4a1ced5e2479f4aebf0053229013b5 Mon Sep 17 00:00:00 2001 From: REAndroid Date: Wed, 30 Nov 2022 11:16:56 -0500 Subject: [PATCH] V1.0.3 (to/from json convert) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index b2c43c0..833f1e4 100755 --- a/README.md +++ b/README.md @@ -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);