to_data


Description:

public string to_data (out size_t length)

Generates a JSON data stream from this and returns it as a buffer.

Parameters:

this

a generator

length

return location for the length of the returned buffer

Returns:

a newly allocated string holding a JSON data stream