Other JsonTree - Tool to help with JSON parsing (B4A / B4J)

Ju Yang

Active Member
Licensed User
Longtime User
I have copied the "JsonTree.zip" to my windows 8 system, and released it from the IDE.
It run well on windows, then I copied the jar file under the object folder to my virtualbox MAC OS X 10 systerm, and run it, but error ocurred!
I can't run the jar file on the virtualbox mac os x sytem, the same problem happened to my own programme. My virtualbox MAC system uses the jre8u65 for macosx-x64

Why error happened?

Waiting for your reply and Thank you!
 

ming

New Member
Licensed User
Longtime User
It works fine:



This is the exact code you need to use in order to access the items.
This works great, but how do I save the Json tree from treeitem(TreeView) back to Json string form for changes made to Json tree? Any sample code around available?
 

ming

New Member
Licensed User
Longtime User
Yes, has dynamically make change to the tree, want to save back as Json and pass back to server. Any hope for any one pointing a direction to a similar solution?
 

ming

New Member
Licensed User
Longtime User
Creating a generic 'tree to json' converter does require some work. However if don't need lists for example then it should be quite simple to convert it back.
Erel, thanks you for your prompt response. I will keep on knock my head against this rock until some smart one share their code or I made it.
 

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Thanks @Erel Just found this gem from 7+ years ago You just saved me a few hours parsing octoprint JSON. A BIG thanks!
 

Swissmade

Well-Known Member
Licensed User
Longtime User
Thanks @Erel help me to get the Job faster.
 

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Thanks @Erel help me to get the Job faster.

To me this should just be included in 'Tools' download. (a separate download with stand alone tools) There as a very good helper programs just burred in the forum and if your like me you cannot find anything no matter how hard you look. (BBCodeDesigner, FormsBuilder are some other good tools)
 

Acuario

Active Member
Licensed User
Longtime User
Great tool but can it be updated so the Root isn't called Root as it clashes with the B4X pages Root and causes errors.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…