It is very simple one. The problem is I don’t know the property name. I do get back it as spinResult but it does not help. I have tried all possible ways. Please click the wheel and it will tell you who is the winner. I want to know who won? The name of the person. Bheema or Duryodhana. Please advice.
Thanks
ananda
Done.
So the message has it in JSON I convert it back to JSON OBJ and then get property. Somehow this seems circuitous. If there is a direct way to interpret it please let me know else this can be considered closed.
Seems like this is pretty much your only valid option at the moment.
Your message is an object? If so, you don’t need to convert it to JSON and then back to an object. Just get the property “spinResult” of the (green) message
.
You said you don’t know the property name but you’re getting the property named “text”. Which property are you needing to know the name of?
You are right. Initially I could not get the keys and finally when I got the keys I just used the converted one. Once you know the key the green message itself worked. Thanks
Thanks @tatiang yes this also works.
The irony is, I have used this spinResult.text format all my life in C++ and JSON interaction and for some reason felt Thunkable might not support it and never tried!!

You’re welcome. If you find yourself needing several get property of object
blocks at any point, you can instead write out a nested property such as “text.spinResult” and use a single get property of object
block for any number of properties.
Hey there! How do I get in touch with you about a project?
You can send a private message here on the forums. Click on my username next to a post and then click Message.
Thanks. Can you message me privately. I’m still not seeing exactly where to do that.