Dim sText As String = $"{"token":"NTE3NzUzZmU3Yjk4ZDdjMmQ1YmQ0MzZjYzE0NThmMzBiNDhhZTBjOGJiMmUwYmU3MTY0MDM4NTAwOA=="}"$
Log(sText.As(JSON).ToMap.Get("token"))
Log(sText.As(JSON).ToMap.As(JSON).ToString)
JsonTree is a tool that helps developers to parse and understand JSON strings. It shows the data structure in a TreeView and it also prints the code (B4J / B4A) required in order to extract the data from the string. Note that variables in the generated code are based on the JSON fields. It may...
This example is a port of the following desktop example: http://www.b4x.com/android/forum/threads/jsontree-tool-to-help-with-json-parsing-b4a-b4j.35963/ You can try it online: https://b4x.com:51041/json/index.html The server parses the JSON string and returns the tree representation and also...