I have a string like this
"{ identifier: '496006074', amount: 349.90, currency: 'TRY', quantity: 1},{ identifier: '490703697', amount: 1386.99, currency: 'TRY', quantity: 1},{ identifier: '401364283', amount: 389.90, currency: 'TRY', quantity: 1}"
how can I convert this string into js object or json to access it by foreach.