Skip to content

JsonLocalTextRegistration.ProcessNestedDictionary method

namespace: Serenity.Localization   assemblySerenity.Net.Core

Converts translation from a hierarchical local text dictionary to a simple dictionary.

public static void ProcessNestedDictionary(IDictionary<string, JToken> nested, string prefix, 
    Dictionary<string, string> target)
parameter description
nested Object parsed from local text JSON string
prefix Prefix to prepend before local text keys
target Target dictionary that will contain keys and translations

See Also