Android Question Json.ToCompactString

drgottjr

Expert
Licensed User
Longtime User
it's the toString method. our json library uses json.org's implementation. apache's implementation has a so-called toCompactString method. it's just a json string without whitespace (ie, compact). our toPrettyString method includes indentation, linefeeds to make it look more legible. compact is not meant to imply compressed.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
https://www.b4x.com/android/forum/threads/b4a-v11-20-is-available-for-download.136834/
mentions Json.ToCompactString
This is not available in Json library version 1.21
It is available!

1643480344062.png
 
Upvote 0
Top