7.3.3. Pretty print — Groonga v10.1.1-31-g1e46ba6 documentation

# groonga - An open-source fulltext search engine and column store.

- 日本語

# 7.3.3. Pretty print

## 7.3.3.1. Summary

New in version 5.1.0.

Groonga supports pretty print when you choose JSON for Output format.

## 7.3.3.2. Usage

Just specify `yes` to `output_pretty` parameter:

    > status --output_pretty yes
    [
      [
        0,
        1448344438.43783,
        5.29289245605469e-05
      ],
      {
        "alloc_count": 233,
        "starttime": 1448344437,
        "start_time": 1448344437,
        "uptime": 1,
        "version": "5.0.9-135-g0763d91",
        "n_queries": 0,
        "cache_hit_rate": 0.0,
        "command_version": 1,
        "default_command_version": 1,
        "max_command_version": 2
      }
    ]

Here is a result without `output_pretty` parameter:

    > status
    [[0,1448344438.43783,5.29289245605469e-05],{"alloc_count":233,"starttime":1448344437,...}]