#552·dasel

> escaped in TOML in JSON output

Author: wyuenhoCreated Jul 16, 2026Updated Jul 16, 2026
Labelsbug

Describe the bug

cat pyproject.toml | dasel -i toml -o json produces unicode escapes for >

To Reproduce Steps to reproduce the behavior:

  1. curl -s https://raw.githubusercontent.com/django/django/refs/heads/main/pyproject.toml | dasel -i toml -o json
    "build-system": {
        "requires": [
            "setuptools\u003e=77.0.3"
        ],
        "build-backend": "setuptools.build_meta"
    },...

Expected behavior Ordinary ASCII characters should not be escaped into unicode, although it is permitted by the spec, it's unneccessary.

Desktop (please complete the following information):

  • OS: macOS Tahoe 26.5.2

  • Version: 3.11.2