skip to Main Content

javascript: string to object and dot notation

In the application I am working on, I have some configuration stored in a memo field in object literals. { JWT : { endpoint :"https://somelink1", clientid :"consent-management", grantType :"client_credentials" }, CMP : {endpoint :"https://someotherlink2", contentType :"application/json"} } Using regex and…

VIEW QUESTION
Back To Top
Search