I would like to know if there is away to convert a json string to custom Type and vice versa (something like google gson).
I think the solution is implemented already as Read/WriteB4X object are doing something similar but it saved as bytes.
So maybe somebody know the solution behind.
You were right. It is faster and it much smaller then json string(compressed).
Will be happy to use it.
But maybe you should make the WriteB4XObject/ReadB4XObject open source or publish the algorithm so we will be able to use it if we will decide to switch the Server side app.