7.25.7. grn_content_type — Groonga v14.0.9ドキュメント

Skip to main content
`Ctrl`+`K`

# 7.25.7. `grn_content_type`

## 7.25.7.1. 概要

`grn_content_type` shows input type and output type. Currently, it is used only for output type.

Normally, you don't need to use this type. It is used internally in `grn_ctx_send()`.

## 7.25.7.2. リファレンス

type grn_content_type

  指定可能な値は以下の通りです。

  GRN_CONTENT_NONE

    It means that outputting nothing or using the original format. dump uses the type.

  GRN_CONTENT_TSV

    It means tab separated values format.

  GRN_CONTENT_JSON

    JSON形式:

  GRN_CONTENT_XML

    It means XML format.

  GRN_CONTENT_MSGPACK

    It means MessagePack format. You need MessagePack library on building Groonga. If you don't have MessagePack library, you can't use this type.