Reactjs – formatting a JSON stringified response and render it to React component
When you get a response from open ai after making api call. it will return a json stringified response and when you render it in a React component, it's not properly formatted. for example. if the responses contains numbered list,…