// GenerateJsonSimple generates a JSON string out of a Variant with a simple data type.
// Parameter data is a Variant that contains data with simple data type.
// Parameter indentStep is an indentation length for json string.
// It returns generated JSON as a string.
GenerateJsonSimple generates a JSON string out of a Variant with a simple data type.
Parameter data is a Variant that contains data with simple data type.
Parameter indentStep is an indentation length for json string.
It returns generated JSON as a string.
// GenerateJsonSimple generates a JSON string out of a Variant with a simple data type . // Parameter data is a Variant that contains data with simple data type . // Parameter indentStep is an indentation length for json string . // It returns generated JSON as a string .
func (c *Converter) GenerateJsonSimple(data *Variant, indentStep int) (Result, []byte) {
	json := NewVariant()
	defer DeleteVariant(json)
	r := Result(C.DLR_converterGenerateJsonSimple(c.this, data.this, json.this, C.int(indentStep)))
	if r != ResultOk {
		return r, nil
	}
	return r, []byte(json.GetString())
}
func ( c * Converter ) GenerateJsonSimple ( data * Variant , indentStep int ) ( Result , [ ] byte ) { json := NewVariant ( ) defer DeleteVariant ( json ) r := Result ( C . DLR_converterGenerateJsonSimple ( c . this , data . this , json . this , C . int ( indentStep ) ) ) if r != ResultOk { return r , nil } return r , [ ] byte ( json . GetString ( ) ) }
GenerateJsonSimple generates a JSON string out of a Variant with a simple data type.
GenerateJsonSimple generates a JSON string out of a Variant with a simple data type .