On Fri, Sep 13, 2013 at 11:00 PM, <[email protected]> wrote: > Hello, > > I am wondering if there are any plans to support the validation of JSON > data in Qt using a JSON schema. Qt supports the validation of XML using > an XML schema with QtXmlPatterns (example: > http://qt-project.org/doc/qt-4.8/xmlpatterns-schema.html). What is the > likelihood that we will see similar functionality for JSON in the near > future? >
Hi, in the case you're interested on code, I implemented a partially compliant JSON validator for Qt Creator a while ago (there's wasn't actually a standardised specification back then, only the draft - I'm not sure what's the state now). The code might not be that easily extracted though because it relied on the QML/JS model components. Originally this was not a documented feature, but if no one has done work in the area I'd guess it's still there. -- Leandro http://www.ltcmelo.com
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
