Getting a string from a text/json file on a server?

Hi there - I’m trying to dynamically load a string from a text file sitting on my server. I have tried with json but haven’t been able to get anything working yet…

[
{ “title1”: “Hello I am Title 1”,
“title2”: “Hello I am Title 1” },
]

This is the type of text file I have uploaded to my server. How would I go about querying for “title1”? I want to set the “Hello I am Title 1” to a new string in Unity and use it from there.

Thanks for the help!

Which part are you having trouble with?

You should check your JSON is valid - looks like you have an extra comma on the second last line that would stop it being read properly. I find this website handy for that: https://jsonlint.com/