I have a json file and I need my application to read it, which means I need to get the value of a certain tag from the file.
How can I do this?
Sorry for the bad translationš
You can use the āget object from JSONā block from the Object section.
Can you specify what action you want to achieve with the JSON?
I created a translation (json) file for my application and I want to translate my application with it
Hi there,
There are lots of Community posts with advice on parsing (reading) a JSON response!
Here is a Community Post.
Here is a video tutorial.
Hope that helps!
But for me itās a file and itās in the application, so how can you read it without using an internet connection?
You can use the same blocks to parse a JSON file, regardless of whether it was acquired through an API or uploaded to the app in advance.
Thanks now it works for me. But I have another problem. The text for me is variable, I want the keyboard text to be the āget propertyā
(Look at the picture)
If you want to set the Text Input text to the property youāre retrieving from your JSON, you can use the āFrom Text_Input set Text toā block:
You can also use the āfrom Text_Input get Textā block with the āget object from JSONā block.