Skip to main content
Close announcements banner

JSON representation properties

  • Row element: Select the element that identifies where a new row begins.
  • Matching unknown or missing required elements: Select this check box to generate a warning when the input JSON contains unknown elements or is missing a required element.
  • Write newline delimited json: Select this check box to write the output in the JSONL format, with multiple JSON records separated by a newline character. If this option is enabled, it disables the Pretty print writer output option and enables the Disable writer array wrapping option.
  • Pretty print writer output: Select this check box to pretty print the output instead of producing the output on a single line.
  • Pretty print indent size: Enter the size of the indent to use with the pretty print.
  • Disable writer array wrapping: Select this option if you want to concatenate multiple root elements instead of wrapping them in an array.
  • Force writer to wrap output as array: Select this check box if you want the output to always be an array, even if a single object is produced. If this option is selected, the Disable writer array wrapping option is ignored.
  • Writer buffer capacity: Enter the size of the buffer used to hold the first occurrence of the root element.
  • Writer omit options:
    Information noteNote: This feature is available only if you have installed the R2022-03 Talend Studio monthly update or a later one delivered by Talend. For more information, check with your administrator.
    • Omit null values: Select this check box to remove elements with a null value from the output.
    • Omit empty strings: Select this check box to remove empty strings from the output.
    • Omit empty arrays: Select this check box to remove empty arrays from the output.
    • Omit empty objects: Select this check box to remove empty objects from the output.
    • Omit empty optional elements: Select this check box to remove empty optional elements from the output.
      Information noteNote: This feature is available only if you have installed the R2024-04 Talend Studio monthly update or a later one delivered by Talend. For more information, check with your administrator.
  • Writer compatible with older releases: Select this option if you want to handle structures with the group type Choice by producing alternatives wrapped in an element named after the alternative type.
  • Character encoding: Specify the character encoding for the data to be processed. For more information, see Character encoding.
  • Trim whitespace on input?: Select this check box to automatically remove any leading or trailing whitespace from the input data for all elements. The non-leading or trailing whitespace is not affected.
  • Pad to minimum length on output?: Select this check box to pad the output to the minimum size with either spaces (character) or zeros (binary).
  • Enforce zero scale on output decimals?: Select this check box if you want to remove all fractional digits for Decimal elements with the Decimal Places property set to 0.
  • Decimal sign is implied on output: Select this check box if you do not want the decimal sign to appear in the output.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!