iOS Question Json to Type and Type to Json

narek adonts

Well-Known Member
Licensed User
Longtime User
Hi,

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.

Narek
 
Upvote 0
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.

Narek
 
Upvote 0
Back
Top