# rnp_dump_packets_to_json

(PECL rnp >= 0.1.1)

rnp_dump_packets_to_json — Dump OpenPGP packets stream information to the JSON string

### 说明

rnp_dump_packets_to_json(string `$input`, int `$flags`): string|false

### 参数

`input`

  Input string containing OpenPGP data, either in binary or ASCII-armored format.

`flags`

  See `RNP_JSON_DUMP_*` predefined constants.

### 返回值

JSON string with dump 或者在失败时返回 `false`.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open