to_json


Description:

[ Version ( since = "2.28" ) ]
public string to_json (uint indent)

Create a JSON string of this serialization.

If indent is 0, the resulting JSON will not contain newlines. The size of the indent is clamped to 10 spaces.

Parameters:

this

a Value

indent

The number of spaces to indent when nesting.

Returns:

a null-terminated JSON string with serialization of this