# Program that uses JSON data

&#x20;JSON Data uses name of the property as **string**. That means when we rename the Methods and Classes in your assembly, NETGuard.IO will also rename the JSON Data and make it invalid. To prevent that, you must use the standard **\[Serializable]** Attribute on the Class(es) that your program uses where the JSON data structure is implemented.

```csharp
[Serializable]
class jsonDATA
{
	public string username { get; set; }
	public string password { get; set; }
}
```


---

# 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://netguard.gitbook.io/help/5.8.1.1/obfuscation-tips/protect-programs-that-uses-json.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.
