Class JsonWriter
A writer for the basic Json format.
public class JsonWriter : BaseJsonWriter
- Inheritance
-
JsonWriter
- Inherited Members
Properties
ConfigExtension
Gets the extension of the configuration files of the format, with the leading dot (e.g., ".jsoncfg"), or an empty string if the writer does not write configuration files.
public override string ConfigExtension { get; }
Property Value
FormatName
Gets the name of the format (e.g., "JSON" or "RESX"), which is also used in error messages.
public override string FormatName { get; }
Property Value
TranslationExtension
Gets the extension of the translation files of the format, with the leading dot (e.g., ".json").
public override string TranslationExtension { get; }
Property Value
Methods
InternalWriteTranslations(TranslationManager, IReadOnlyCollection<CultureInfo>, Stream)
Writes translations.
protected override void InternalWriteTranslations(TranslationManager translationManager, IReadOnlyCollection<CultureInfo> cultures, Stream stream)
Parameters
translationManagerTranslationManagerThe translation manager from which the translations should be picked.
culturesIReadOnlyCollection<CultureInfo>The list of cultures to write.
streamStreamThe stream to write the resulting file to.