MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / toJson

Function toJson

app/src/DataModel/Frame.h:1553–1556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1551 */
1552template<Concepts::Serializable T>
1553[[nodiscard]] inline QJsonObject toJson(const T& obj) noexcept
1554{
1555 return serialize(obj);
1556}
1557
1558/**
1559 * @brief Generic JSON deserialization with validation for Serializable types.

Callers 5

toJsonBytesMethod · 0.85
toJsonBytesMethod · 0.85
toJsonBytesMethod · 0.85
applyProjectConfigMethod · 0.85

Calls 1

serializeFunction · 0.85

Tested by

no test coverage detected