Title: Custom JSON Export for Gravity Forms
Author: sflwa
Published: <strong>2025 年 8 月 11 日</strong>
Last modified: 2025 年 8 月 11 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/custom-json-export-for-gravity-forms.
svg)

# Custom JSON Export for Gravity Forms

 作者：[sflwa](https://profiles.wordpress.org/sflwa/)

[下载](https://downloads.wordpress.org/plugin/custom-json-export-for-gravity-forms.2.27.zip)

 * [详情](https://cn.wordpress.org/plugins/custom-json-export-for-gravity-forms/#description)
 * [评价](https://cn.wordpress.org/plugins/custom-json-export-for-gravity-forms/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/custom-json-export-for-gravity-forms/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/custom-json-export-for-gravity-forms/#developers)

 [支持](https://wordpress.org/support/plugin/custom-json-export-for-gravity-forms/)

## 描述

This plugin enhances Gravity Forms by providing the ability to export individual
form entries as a `.json` file directly from the entries list. It allows you to 
define a custom JSON structure using a template editor within each form’s settings,
where you can insert Gravity Forms merge tags and even utilize conditional logic
shortcodes. A live preview feature helps you validate your JSON template before 
export.

### Instructions

 1.  **Activate the plugin.**
 2.  Go to **Forms > Forms**, then select ‘Settings’ for the desired form.
 3.  Click on the **‘JSON Export’ tab**.
 4.  **Enable JSON Export Link:** Check the box to display the “Download JSON Export”
     link on individual entry pages for this form.
 5.  **Custom JSON Output Template:** Enter your desired JSON structure in the textarea.
 6.   * Use standard Gravity Forms merge tags (e.g., `{field_id}`, `{entry_id}`, `{
        date_created:format:Y-m-d}`).
      * Merge tags will be automatically formatted as `"key":"{merge_tag}"` when inserted
        from the dropdown.
      * You can also use Gravity Forms conditional shortcodes (e.g., `[gravityforms
        action='conditional' merge_tag='{Name (First):1.3}' condition='isnot' value
        ='Philip']"custom_field":"conditional_value"[/gravityforms]`) to include dynamic
        content.
 7.  **Preview JSON Export:** Click the ‘Preview JSON Export’ button to see a live 
     preview of your generated JSON based on the latest entry for that form. This helps
     in validating your template.
 8.  **Save Settings:** Click ‘Save Settings’ to apply your changes.
 9.  To export an entry, go to **Forms > Entries**, hover over an entry, and click 
     the ‘Download JSON Export’ link.

## 安装

 1. Upload the `custom-json-export-for-gravity-forms` folder to the `/wp-content/plugins/`
    directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. After activation, navigate to **Forms > Forms**, hover over a form, and click ‘
    Settings’. You will find a new ‘JSON Export’ tab where you can configure the export
    options and custom JSON template for that specific form.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Custom JSON Export for Gravity Forms」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ sflwa ](https://profiles.wordpress.org/sflwa/)

[帮助将「Custom JSON Export for Gravity Forms」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/custom-json-export-for-gravity-forms)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/custom-json-export-for-gravity-forms/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/custom-json-export-for-gravity-forms/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/custom-json-export-for-gravity-forms/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/custom-json-export-for-gravity-forms/)。

## 更新日志

**2025-07-24 v2.27
 * Initial stable release. * Added custom JSON template editor
with merge tag insertion. * Implemented live JSON preview based on the latest entry.*
Added conditional logic shortcode support within templates. * Option to enable/disable
JSON export link per form. * Added ‘JSON Export’ meta box to individual entry detail
pages for direct download.

## 额外信息

 *  版本 **2.27**
 *  最后更新：**10 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 6.7 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/custom-json-export-for-gravity-forms/)
 * 标签
 * [gravity forms](https://cn.wordpress.org/plugins/tags/gravity-forms/)[JSON](https://cn.wordpress.org/plugins/tags/json/)
 *  [高级视图](https://cn.wordpress.org/plugins/custom-json-export-for-gravity-forms/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/custom-json-export-for-gravity-forms/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/custom-json-export-for-gravity-forms/reviews/)

## 贡献者

 *   [ sflwa ](https://profiles.wordpress.org/sflwa/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/custom-json-export-for-gravity-forms/)