How to read json file

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šŸ˜…

1 Like

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?

2 Likes

I created a translation (json) file for my application and I want to translate my application with it

1 Like

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.

1 Like

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)

1 Like

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:
settextTI

You can also use the ā€˜from Text_Input get Textā€™ block with the ā€˜get object from JSONā€™ block.

1 Like

Thanks for fixing it, but now I canā€™t connect get property to of object