How to escape a single quote from a JSON string?

PHOTO EMBED

Fri Jan 27 2023 15:43:56 GMT+0000 (Coordinated Universal Time)

Saved by @Zohir #c# #javascript

.replace("'","\\'")
content_copyCOPY