B4J Library [B4X] BalConverter - Convert the layouts files to JSON (and vice versa) - Erel    
Sep 11, 2025   
(30 reactions)Automation tool: https://www.b4x.com/android/forum/threads/b4x-jsonlayouts-synchronize-json-and... the designer layout files and JSON format.
This allows you to edit the layout with a text editor. Note... another. The original files are not deleted.
It filters the files based on the extension (bal or bal.json).
http://www.b4x.com/basic4android/images/SS-2014-06-01_17.03.59.png
The JSON format is made... - Designer script is now decoded and encoded. This means that it can be modified in the json file.
- Layout...
Tool [B4X] JsonLayouts - synchronize json and binary layouts - Erel    
Jul 12, 2026   
(30 reactions)The purpose of this tool is to automatically generate json layout files, and synchronize them...: https://www.b4x.com/b4j/files/JsonLayouts.jar
2. Add this code to Main module:
#Macro: After Save, Sync Layouts, ide://run?File=%ADDITIONAL%\JsonLayouts.jar&Args=%PROJECT%&Args=%PROJECT_NAME%
#Macro: Title, JsonLayouts folder, ide://run?File=%WINDIR%\explorer.exe&Args=%PROJECT%\JsonLayouts
The tool will run whenever the project is saved, and that includes running the project if...
Other JsonTree - Tool to help with JSON parsing (B4A / B4J) - Erel    
Apr 24, 2022   
(43 reactions)http://www.b4x.com/basic4android/images/SS-2013-12-23_10.11.49.png
JsonTree is a tool that helps developers to parse and understand JSON strings.
It shows the data structure in a TreeView and... that variables in the generated code are based on the JSON fields. It may produce invalid identifiers... can be downloaded here: www.b4x.com/b4j/files/JsonTree.jar
An online version of this tool is available here: http://basic4ppc.com:51042/json/index.html
The source code is attached.
Updated project...
Share My Creation [Web] SithasoBJL-JSON Editor WebApp - Mashiane    
Feb 11, 2026 complete bjl layouts from UI one creates from the tool
Import (BJL/JSON) > Edit It > Export (BJL/JSON)
Experience it for yourself on Vercel
Download Source Code
169892
rcZyxrIkUws
Related Content
https://www.b4x.com/android/forum/threads/web-sithasodaisy5-edit-bjl-layout-in-json-format-convert-json-to-bjl.169794/
https://www.b4x.com/android/forum/threads/web-nodejs-bjlconvertor-on-the-web-bjl-json.169767/
#SharingTheGoodness...
B4A Tutorial Android JSON tutorial - Erel    
Feb 7, 2021   
(13 reactions)JSON format is a a format similar to XML but usually it is shorter and easier to parse.
Many web services now work with JSON. JSON official site: JSON
Using the new JSON library, you can parse and generate JSON strings easily.
As an example we will parse a the following JSON string:
{"menu...()"}
]
}
}}
This example was taken from json.org/examples.
Curl brackets represent an object... of objects, and print the values of the "value" element.
After parsing the string, JSON...
B4J Tutorial [Server] Online Json Tree Example - Erel    
Jul 6, 2023   
(5 reactions)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/
http://www.b4x.com/basic4android/images/SS-2014-03-20_11.43.42.png
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 the B4A / B4J code you need in order to parse it.
The code is similar to the desktop solution code. The main difference...
B4A Tutorial Convert collections to json and vice versa - Erel    
Mar 27, 2022   
(32 reactions)The JSON libraries, which are internal libraries, were updated. The new version is 1.20.
There is a new JSON type which is used to convert maps or lists to json strings and vice versa, using the new... it as "JSON" and then convert it to a string or a collection.
It looks like this:
Dim m As Map = CreateMap("asdasd": Array(1, 2, 3, 4))
Dim s As String = m.As(JSON).ToString
'equivalent to:
Dim jg As JsonGenerator
jg.Initialize(m)
Dim s As String = jg.ToPrettyString(4...
Share My Creation SithasoBAL-JSON Editor WebApp - Mashiane    
Feb 13, 2026   
(6 reactions)Hi Fam
This webapp now opens bal/json files done in b4a and is a continuation of this project, however with this update, we can import and export both bal/json files after editing them. You can toggle between JSON view and preview of your layout.
Import (BJL/BAL) > Edit It > Export (BJL/BAL)
Experience on Vercel
Download Source Code
169923
169924
dR_vSB-Vifg
Related Content
https://www.b4x.com/android/forum/threads/web-sithasobjl-json-editor-webapp.170297/...
B4J Question How to know if string is parseable as JSON "list" or "Map" - jmon    
Oct 5, 2022Hi,
I would like to be able to determine if a JSON string will be parseable as a LIST or as a MAP before processing it.
Am I missing something, or is the only way to know is to test the first character?
""{" = MAP
Dim json As JSONParser
json.Initialize(StdOut)
If json.IsInitialized Then
If StdOut.StartsWith(" For Each Program As Map In json.NextArray
'processing as a list of map
Next
Else
Dim Program As Map = json...
Share My Creation [Web][SithasoDaisy 2.5] LIBS.JSON Generator for Aeric's Additional Libraries Downloader - Mashiane    
Aug 27, 2025   
(1 reaction). This however needs a libs.json file for it to work.
The purpose of this tool is to generate the libs.json file from Erel's b4x library index for your platform of choice.
166360
Step 1
1... the platform specific libs.json file.
NB. This tool greatly depends on the b4a, b4i, b4i, b4r (file.../threads/sithasodaisy2-lets-create-a-libs-json-generator-for-aerics-additional-libraries-downloader.168361...
Page: 1  
2  
3  
4  
5  
6  
7