Skip to content

Commit ca90b85

Browse files
committed
Added documentation.
1 parent dac7266 commit ca90b85

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
/**
22
* \file .
3+
* \brief Interface to JSON serializer.
34
*/
45
#pragma once
56
#include <string>
67

8+
/**
9+
* Serializes an object to a JSON formatted string.
10+
*
11+
* @tparam T a serializable structure or container
12+
* @param object data to be serialized
13+
* @returns string JSON formatted
14+
*/
715
template <class T>
816
std::string toJsonString(const T &object);

0 commit comments

Comments
 (0)