> For the complete documentation index, see [llms.txt](https://vostok.gitbook.io/configuration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vostok.gitbook.io/configuration/sources/json-sources.md).

# JSON sources

**Location**: [Sources.Json module](/configuration/modules/sources-json.md).

[**JsonStringSource**](https://github.com/vostok/configuration.sources.json/blob/master/Vostok.Configuration.Sources.Json/JsonStringSource.cs) parses well-formed JSON documents from in-memory strings and supports manual external updates:

```
var source = new JsonStringSource("<json content>");

​source.Push("<json content>") // update with new content
```

​[**JsonFileSource**](https://github.com/vostok/configuration.sources.json/blob/master/Vostok.Configuration.Sources.Json/JsonFileSource.cs) parses JSON files and automatically watches for changes:

```
var source = new JsonFileSource("settings/config.json");
```

A file that does not exist simply leads to a `null` [node](/configuration/concepts-and-basics/settings-nodes.md), which implies default settings values unless something is [explicitly required](/configuration/basic-scenarios/make-settings-required.md).

## Related pages

{% content-ref url="/pages/-M6UQMklC2EtQ\_nAUDjI" %}
[Configuration sources](/configuration/concepts-and-basics/configuration-sources.md)
{% endcontent-ref %}
