# JSON Serializer Options

### JsonSerializerOptions Struct

Options which control the serialization and deserialization process

### Syntax

public struct **JsonSerializerOptions**

### Member Details

#### SerializeReferences Property

> Controls how references are serialized.
>
> #### Syntax
>
> public [bool](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean) **SerializeReferences** { get; set; }
>
> **Value**
>
> > When true references are maintained instead of serializing the objects directly.
>
> #### Remarks
>
> #### Requirements
>
> **Namespace:** Sansar.Utility\
> **Assembly:** Sansar.Script (in Sansar.Script.dll)\
> **Assembly Versions:** 1.0.0.0
>
> ***

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sansar.com/latest/script-api-docs/sansar-utility-namespace/json-serializer-options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
