I convert a layout to JSON using BalConverter. https://www.b4x.com/android/forum/t...e-layouts-files-to-json-and-vice-versa.41623/
I then put that JSON into JSON Tree Example. http://basic4ppc.com:51042/json/index.html.
Then, I put the resulting code from that into B4J and the code has errors.
These two lines in the JSON are problematic:
Dim :kids As Map = Data.Get(":kids")
Dim kids As Map = 0.Get("kids")
The code gives syntax errors for :kids and for 0 as the object name (if I am using the correct term).
I can give the layout file and JSON result, but I don't think that is necessary in this case.
If anyone wants otherwise, please let me know.
I then put that JSON into JSON Tree Example. http://basic4ppc.com:51042/json/index.html.
Then, I put the resulting code from that into B4J and the code has errors.
These two lines in the JSON are problematic:
Dim :kids As Map = Data.Get(":kids")
Dim kids As Map = 0.Get("kids")
The code gives syntax errors for :kids and for 0 as the object name (if I am using the correct term).
I can give the layout file and JSON result, but I don't think that is necessary in this case.
If anyone wants otherwise, please let me know.