---
title: "SetAlwaysExportAsJsonObject Method"
url: "https://reference.aspose.com/cells/go-cpp/jsonsaveoptions/setalwaysexportasjsonobject/"
product: "Aspose.Cells for Go via C++ API Reference"
description: "SetAlwaysExportAsJsonObject method. Encapsulates the function that represents setalwaysexportasjsonobject in Go."
---


## SetAlwaysExportAsJsonObject function

Indicates whether always exporting excel to json as object, even there is only a worksheet in the file.

```go

func (instance *JsonSaveOptions) SetAlwaysExportAsJsonObject(value bool)  error

```

## Remarks


## See Also

* Class [JsonSaveOptions](../)
* Library [Aspose.Cells for Go](../../)
