+++
title = "json-enc"
+++

This extension encodes parameters in JSON format instead of url format.

## Install

```html
<script src="https://unpkg.com/htmx.org@1.9.11/dist/ext/json-enc.js"></script>
```

## Usage

```html
<div hx-post='/test' hx-ext='json-enc'>click me</div>
```
