Documentation Center

JSON settings

The JSON file type has the *.json extension.

Parser

SettingInstruction
String value extractionSelect one of the options:
  • Extract all string values - All string values which contain a key are extracted.
  • Specify rules for extracting - Define a rule that extracts values (numbers, boolean, strings, date time) from a specific path. If you choose this option, move on and specify an extraction path.
Specified JSON paths for extractingTo add a JSON path:
  1. Under the JSON Paths column, type the relevant information. Leave the SidSibling field empty, as this option is only used by WorldServer. For more information about SID, consult the WorldServer documentation.
  2. From the Document Structure Information list, choose a value: Address, Block Quote, Body, Bookmark Name, Bookmark Reference, Button, Callout, Caption, CDATA Section.
  3. Select plus sign.
Note that:
  • If the path list is empty, no data is extracted.
  • If the path is valid syntactically, but it doesn't match with the existent file, then no data is extracted.
  • If the source file contains two duplicates keys, only the last one is extracted.
  • If the source file includes keys with undefined and null values, these elements are not extracted.

Writer

SettingInstruction
Escape non-ASCII and control charactersSelect the check box to process documents without non-ASCII and control characters.
  • If this option is enabled, then all the symbols are transformed to strings, including the Chinese or Arabic characters. So, for example, in the target file, certain symbols will look like: "\u63d0".
  • If the option is disabled, the four hexadecimal digits in the example above are converted and shown as Unicode characters, and are saved the same way in the target file.
Enable pretty printing in target fileSelect the check box to have indentation in the target file.
Unicode UTF-8 byte order mark (BOM)From the list, choose an option to determine how BOM is handled during translation: Preserve; don't add if not originally present, Preserve: add if not originally present, Remove if present.

Embedded Content

SettingInstruction
Process embedded contentSelect the check box to process embedded content. If you choose this option, specify the document structure information.
Document Structure InformationTo add document structure information:
  1. From the Document Structure Information list, choose an available value.
  2. From the Embedded Processor list, choose a value: Embedded Content Plain Text v. 1.0.0.0, Embedded Content SpreadsheetML v. 1, Html Embedded Content 4.2.0.0, Html Embedded Content 5.2.0.0.
  3. Select plus sign.