#### [Pf2e\.Scrapper](index.md 'index') ### [Pf2e\.Scrapper\.Importers\.Implementations\.FoundryEn\.Helpers](Pf2e.Scrapper.Importers.Implementations.FoundryEn.Helpers.md 'Pf2e\.Scrapper\.Importers\.Implementations\.FoundryEn\.Helpers').[FoundryEnGlobals](FoundryEnGlobals.md 'Pf2e\.Scrapper\.Importers\.Implementations\.FoundryEn\.Helpers\.FoundryEnGlobals') ## FoundryEnGlobals\.JsonToDictionary\(JObject, string\) Method Преобразовать JSON\-объект в словарь\. ```csharp public static System.Collections.Generic.Dictionary JsonToDictionary(Newtonsoft.Json.Linq.JObject json, string tokenPath); ``` #### Parameters `json` [Newtonsoft\.Json\.Linq\.JObject](https://learn.microsoft.com/en-us/dotnet/api/newtonsoft.json.linq.jobject 'Newtonsoft\.Json\.Linq\.JObject') Исходный JSON\-объект\. `tokenPath` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') Путь к токену в JSON\. #### Returns [System\.Collections\.Generic\.Dictionary<](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2 'System\.Collections\.Generic\.Dictionary\`2')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[,](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2 'System\.Collections\.Generic\.Dictionary\`2')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[>](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2 'System\.Collections\.Generic\.Dictionary\`2') Результирующий словарь\.