We're using MoshiX's moshi-ir. Can we see/decompil...
# squarelibraries
j
We're using MoshiX's moshi-ir. Can we see/decompile somewhere the bytecode to see the actual impl of an adapter? thx
m
worst case you can use javap from the .class files in
build/classes/something
That's on a non-Android project. Not sure where the .class files are in Android but something like below should be able to find them
Copy code
find build |grep JsonAdapter.class
z
yeah javap’s your best option for raw class data. If you want to read an IR source dump you can enable a very noisy debug logging setting in gradle via
Copy code
moshi {
  debug.set(true)
}
IR source dump == more like source code. Not perfect syntax but you should be able to grok it looking at it