Class ArbParser
Assembly: Tlumach.Base.dll
Syntax
public class ArbParser : BaseJsonParser
Properties
TextProcessingMode
Gets or sets the text processing mode to use when decoding potentially escaped strings and when recognizing template strings in translation entries.
Declaration
public static TextFormat TextProcessingMode { get; set; }
Property Value
Methods
CanHandleExtension(string)
Checks whether this parser can handle a translation file with the given extension.
This method is not used for configuration files.
Declaration
public override bool CanHandleExtension(string fileExtension)
Parameters
| Type |
Name |
Description |
| string |
fileExtension |
The extension to check.
|
Returns
| Type |
Description |
| bool |
true if the extension is supported and false otherwise.
|
Overrides
GetTextProcessingMode()
Declaration
protected override TextFormat GetTextProcessingMode()
Returns
Overrides
InternalLoadTranslationEntriesFromJSON(JsonElement, Translation?, string)
Declaration
protected override Translation InternalLoadTranslationEntriesFromJSON(JsonElement jsonObj, Translation? translation, string groupName)
Parameters
Returns
Overrides
ShouldSkipObjectProperty(string)
Declaration
protected override bool? ShouldSkipObjectProperty(string key)
Parameters
| Type |
Name |
Description |
| string |
key |
|
Returns
Overrides
ShouldSkipStringProperty(string)
Declaration
protected override bool? ShouldSkipStringProperty(string key)
Parameters
| Type |
Name |
Description |
| string |
key |
|
Returns
Overrides
Use()
Initializes the parser class, making it available for use.
Declaration