DEV Community

satishreddyu
satishreddyu

Posted on

How to display JSON data in React UI dynamically , not just plain data but with data having links in between the text too

{
"test1" : {
"question": "test 1 ",
"answer" : "test answer",
"question": "test 2",
"answer":" test answer 2 #Google link, answer something and all"
}

So How can we render the answer text having links like this Google Link in middle of text. As the answer node in the JSON will be normal text, how to make it dynamically render the data along with links

Top comments (0)