Skip to content

json_encode filter does not exist in gingembre templates #246

@fasterthanlime

Description

@fasterthanlime

Description

Attempting to use json_encode to debug template variables fails silently. This filter doesn't exist in gingembre.

Reproduction

{{ page.toc | json_encode(pretty=true) }}

This produces no output, making it impossible to inspect template variable structures during development.

Expected

Either json_encode should be available as a built-in filter, or there should be an alternative way to inspect template variable shapes (e.g., a debug filter).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions