Reference
No results for 'undefined'
    Powered by Algolia

    JSON_PRETTY

    Takes valid JSON as input, and "pretty prints it.‌

    Syntax

    =JSON_PRETTY(jsonString, [indent])

    Parameters

    1. jsonString
      • Type: String
      • Description: The string to format
    2. indent [optional]
      • Type: Integer
      • Description: indent to use

    Returns

    • Type: String
    • Description: This function always returns text according to a specified format

    Example

    =JSON_PRETTY(A1, 2)
    Contents