DataDriver.json.toObject not working in new library version?

did a few test with the newest library (downloaded today);
our websolution doesn’t work anymore …
doing some debug we found out that the problem is converting a string to a json-object;
this test-source, using the previous version, returns “object” but it’s returning “null” with the new library;
is there a syntax change for this cases?

s="{id:‘1’}"
addingObject=webix.DataDriver.json.toObject(s);
window.alert(addingObject)

Starting from Webix 3.0, library uses string JSON parsing rules. It will not accept the non-standard JSON data.

You are using a wrong formatting for json, it must be

 { "id":'1'}

It possible to patch the library and restore the older behavior, but I strongly recommend against it. Old code has used eval for JSON parsing, which results in possible security issues. The new version uses JSON.parse which is more strict, but much more safe in the same time.

thank you very much! I will try it the new way!