mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 21:45:34 +08:00
Ref T237, JSON functions
* container file JSON function automatically detecting JSON format (swift, cache, DB) * utility functions
This commit is contained in:
@@ -257,6 +257,9 @@ namespace BlackMisc
|
||||
//! \remark Quick check if the string could be a valid swift JSON string
|
||||
BLACKMISC_EXPORT bool looksLikeSwiftJson(const QString &json);
|
||||
|
||||
//! Looks like a valid swift container JSON object
|
||||
BLACKMISC_EXPORT bool looksLikeSwiftContainerJson(const QJsonObject &object);
|
||||
|
||||
//! Looks like a cache/setting object
|
||||
BLACKMISC_EXPORT bool looksLikeSwiftDataObject(const QJsonObject &object);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user