Files
Pf2eDataScrapper/Documentation/Pf2e.Scrapper/ProcessorInput.GetRequired_T_(string).md
T
2025-10-04 22:52:22 +04:00

31 lines
1.3 KiB
Markdown

#### [Pf2e\.Scrapper](index.md 'index')
### [Pf2e\.Scrapper\.Processors](Pf2e.Scrapper.Processors.md 'Pf2e\.Scrapper\.Processors').[ProcessorInput](ProcessorInput.md 'Pf2e\.Scrapper\.Processors\.ProcessorInput')
## ProcessorInput\.GetRequired\<T\>\(string\) Method
Значение из JSON по заданному пути, которое обязательно должно существовать\.
```csharp
public virtual T GetRequired<T>(string path);
```
#### Type parameters
<a name='Pf2e.Scrapper.Processors.ProcessorInput.GetRequired_T_(string).T'></a>
`T`
#### Parameters
<a name='Pf2e.Scrapper.Processors.ProcessorInput.GetRequired_T_(string).path'></a>
`path` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')
Путь в JSON\.
#### Returns
[T](ProcessorInput.GetRequired_T_(string).md#Pf2e.Scrapper.Processors.ProcessorInput.GetRequired_T_(string).T 'Pf2e\.Scrapper\.Processors\.ProcessorInput\.GetRequired\<T\>\(string\)\.T')
Объект типа \`T\` или \`null\`, если не удалось найти значение\.
#### Exceptions
[System\.NullReferenceException](https://learn.microsoft.com/en-us/dotnet/api/system.nullreferenceexception 'System\.NullReferenceException')
Если значение не найдено\.