[Development] QJsonDocument toJson()

2012-11-29 Thread Michal Dorner
Hi, I just tried to switch from qjson external library to qt5 QJsonDocument and found this: QJsonDocument doc = QJsonDocument::fromJson("{\"user_id\":100}"); qDebug() << doc.toJson(); output: "{ "user_id": 1e+06 } " Any number >= 100 is serialized in exponential format with pre

Re: [Development] QJSEngine debuging

2012-11-20 Thread Michal Dorner
2012/11/19 Koehne Kai > > Hi, > > Even if you're not using QML, you might look into using it's debugging > infrastructure. All you'll probably have to do is create a dummy QQmlEngine > at the start of your app: Since breakpoints, stepping are global for v8, > you should be able to debug any JS cod

[Development] QJSEngine debuging

2012-11-18 Thread Michal Dorner
ing Eclipse plugin or something like node-inspector<https://github.com/dannycoates/node-inspector> in Node.js Could someone pleas tell me if it's this possbile? Thanks. Best regards, Michal Dorner ___ Development mailing list Development@qt-proj