B4XSerializator is a great tool that makes it simple to share data between B4A, B4i and B4J. It takes care of converting objects, including complex objects, to bytes and vice versa. (It also has a smaller brother named B4RSerializator that is supported by B4A, B4i, B4J and B4R but is less powerful.)
Install-Package B4XSerializator -Version 1.0.0
dotnet add package B4XSerializator --version 1.0.0
<PackageReference Include="B4XSerializator" Version="1.0.0" />
paket add B4XSerializator --version 1.0.0
- SharpZipLib (>= 0.86.0)
This package is not used by any popular GitHub repositories.