I am building an Angular 7 app that consumes a java REST API for its data. The API delivers some date information in JSON form: { "date_c": "2019-03-10T06:00:00Z[UTC]", "state": 1, "id": 1, "name": "Charles Brown ", "provider": "clar" }
so in Angular when im trying to use
const myObjStr = JSON.stringify(jsonObject);
it display an error , i find out that the problem is in the symbols '[' and ']' of the [UTC], how can i remove it so it can work?
thanks in advance
