MCPcopy Create free account
hub / github.com/MITK/MITK / ToJSON

Method ToJSON

Modules/CppMicroServices/include/usAny.h:249–252  ·  view source on GitHub ↗

* \brief Returns a JSON representation for the content. * * Custom types should specialize the any_value_to_json template function for meaningful output. */

Source from the content-addressed store, hash-verified

247 * Custom types should specialize the any_value_to_json template function for meaningful output.
248 */
249 std::string ToJSON() const
250 {
251 return Empty() ? "null" : _content->ToJSON();
252 }
253
254 /**
255 * \brief Returns the type information of the stored content.

Callers 3

usAnyTestFunction · 0.45
any_value_to_jsonFunction · 0.45
any_value_to_jsonFunction · 0.45

Calls 1

EmptyClass · 0.85

Tested by 1

usAnyTestFunction · 0.36