I get from db this string:
{ from: 15.00, to: 16.00 },
{ from: 16.00, to: 17.00 },
{ from: 17.00, to: 18.00 },
{ from: 18.00, to: 19.00 }
It is a string and json.parse not work in this case. Is it possible to convert this string to regular js object?