mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
refs #911, utility functions for cut and paste JSON
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6c752b81f5
commit
b785e32256
@@ -250,6 +250,14 @@ namespace BlackMisc
|
||||
//! Merges an incremental json object into an existing one
|
||||
BLACKMISC_EXPORT QJsonObject applyIncrementalObject(const QJsonObject &previousObject, const QJsonObject &incrementalObject);
|
||||
|
||||
//! Looks like swift JSON?
|
||||
//! \remark Quick check if the string could be a valid JSON string
|
||||
BLACKMISC_EXPORT bool looksLikeJson(const QString &json);
|
||||
|
||||
//! Looks like swift JSON?
|
||||
//! \remark Quick check if the string could be a valid swift JSON string
|
||||
BLACKMISC_EXPORT bool looksLikeSwiftJson(const QString &json);
|
||||
|
||||
/*!
|
||||
* Load JSON file and init by that
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user