27 lines
1.9 KiB
Markdown
27 lines
1.9 KiB
Markdown
#### [Pf2e\.Scrapper](index.md 'index')
|
|
### [Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers](Pf2e.Scrapper.Importers.Implementations.Aonprd.Helpers.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers').[AonprdBuilderGlobals](AonprdBuilderGlobals.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Helpers\.AonprdBuilderGlobals')
|
|
|
|
## AonprdBuilderGlobals\.JsonToDictionary\(JObject, string\) Method
|
|
|
|
Преобразовать JSON\-объект в словарь\.
|
|
|
|
```csharp
|
|
public static System.Collections.Generic.Dictionary<string,string> JsonToDictionary(Newtonsoft.Json.Linq.JObject json, string tokenPath);
|
|
```
|
|
#### Parameters
|
|
|
|
<a name='Pf2e.Scrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals.JsonToDictionary(Newtonsoft.Json.Linq.JObject,string).json'></a>
|
|
|
|
`json` [Newtonsoft\.Json\.Linq\.JObject](https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JObject 'Newtonsoft\.Json\.Linq\.JObject')
|
|
|
|
Исходный JSON\-объект\.
|
|
|
|
<a name='Pf2e.Scrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals.JsonToDictionary(Newtonsoft.Json.Linq.JObject,string).tokenPath'></a>
|
|
|
|
`tokenPath` [System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
|
|
|
Путь к токену в JSON\.
|
|
|
|
#### Returns
|
|
[System\.Collections\.Generic\.Dictionary<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.Dictionary-2 'System\.Collections\.Generic\.Dictionary\`2')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[,](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.Dictionary-2 'System\.Collections\.Generic\.Dictionary\`2')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.Dictionary-2 'System\.Collections\.Generic\.Dictionary\`2')
|
|
Результирующий словарь\. |