B4J Question [SOLVED] Json Parser Unterminated Object Error: Please help

Mashiane

Expert
Licensed User
Longtime User
Hi

I have attached my example here. I'm getting an unterminated object error when parsing my json strings to map i.e. returns empty map, others seem to work fine. What am I missing?

Untitled.png
 

Attachments

  • JsonParser.zip
    7.5 KB · Views: 195

Peter Meares

Member
Licensed User
Longtime User
Small thing. Normally I would expect mTot - 1, otherwise you over count on the items.
You might have that covered in the code elsewhere.
 
Upvote 0

mindful

Active Member
Licensed User
I think you have to place some " before and at the end of string values, something like :
B4X:
id="Super User.suprojectsapproval"
 
Upvote 0
Top