Function tvm::ffi::json::Stringify

Function tvm::ffi::json::Stringify#

Function Documentation#

String tvm::ffi::json::Stringify(const json::Value &value, Optional<int> indent = std::nullopt)#

Serialize an Any value into a JSON string.

Parameters:
  • value – The Any value to serialize.

  • indent – The number of spaces to indent the output. If not specified, the output will be compact.

Returns:

The output JSON string.