APISonar


jadx.api.JadxArgs.OutputFormatEnum.JSON

> jadx > api > JadxArgs > OutputFormatEnum > JSON
jadx APIs api APIs JadxArgs APIs OutputFormatEnum APIs JSON APIs

Example 1
public void testFallback() {
		disableCompilation();
		setFallback();
		args.setOutputFormat(JadxArgs.OutputFormatEnum.JSON);

		ClassNode cls = getClassNode(TestCls.class);
		String code = cls.getCode().toString();

		assertThat(code, containsString("\"offset\": \"0x"));
		assertThat(code, containsOne("public static class Inner implements java.lang.Runnable"));
	}