# JSON

The analysis of JSON files is disabled by default. You can enable it by setting the `sonar.json.activate` property to `true`.

This property does not affect analysis of language / framework specific JSON files.

JSON files that are detected as belonging to CloudFormation or Azure Resource Manager will be additionally analyzed by the dedicated analyzers, next to this general JSON analysis.

## Language-specific properties <a href="#language-specific-properties" id="language-specific-properties"></a>

Discover and update the JSON properties in **Administration** > **Configuration** > **General Settings** > **Languages** > **JSON**.


---

# 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.sonarsource.com/sonarqube-server/2025.5/analyzing-source-code/languages/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.
