> 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/concepts-and-basics/settings-nodes/value-nodes.md).

# Value nodes

[Value nodes](https://github.com/vostok/configuration.abstractions/blob/master/Vostok.Configuration.Abstractions/SettingsTree/ValueNode.cs) are key-value pairs with optional keys. They cannot have child nodes and thus are always the leaves of settings node trees. Standalone values are rare: most of the time value nodes can be found inside [objects](/configuration/concepts-and-basics/settings-nodes/object-nodes.md) or [arrays](/configuration/concepts-and-basics/settings-nodes/array-nodes.md).&#x20;

Value nodes are typically mapped to primitive types during [binding](/configuration/concepts-and-basics/binding-nodes-to-models.md).

### Properties

| Property     | Description                                                                                                                    |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------ |
| `Name`       | Required if nested in an [object node](/configuration/concepts-and-basics/settings-nodes/object-nodes.md), optional otherwise. |
| `Value`      | Useful payload. The value of a object field or array element. Can be null.                                                     |
| `Children`   | Always returns an empty sequence.                                                                                              |
| `this[name]` | Always returns `null`.                                                                                                         |

### Equality

Two value nodes are considered equal if their values match exactly and their names match up to differences in case.

### Representation

```
Value("name", "value") --> "value"
Value("name", null) --> <null>
```

### Related pages

{% content-ref url="/pages/-M6UQWzdH9Vr2c-ZVWTS" %}
[Settings nodes](/configuration/concepts-and-basics/settings-nodes.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M6UQ\_P-kBl5fYeP5InQ" %}
[Settings nodes merging](/configuration/concepts-and-basics/settings-nodes-merging.md)
{% endcontent-ref %}
