Skip to content

Add a Jinja filter to parse json strings #1

Description

@loicalbertin

Hi,

It would be handy to have access to a filter that could deserialize a JSON strings into a Python object in templates.
I typically have in mind something similar to the from_json filter in Ansible.

I can quickly create a PR to handle this particular use-case but maybe you want to think about more generic way to add new filters, WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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