Skip to content

to-directory-tree JSON support? #2073

@SiriusStarr

Description

@SiriusStarr

Unsure if it would be useful for anyone else, but I find myself wishing that dhall to-directory-tree supported file content other than Text. What are people's thoughts on rendering files using dhall-to-json? The biggest issue I foresee would be determining when to "terminate", i.e. when to stop treating records as directories and render them out as JSON instead.

Currently the only way to go about this is to use the JSON rendering in the Prelude, but that requires doing all the work to turn whatever are your terminal file contents into JSON/Type, which is tedious if you have any non-trivial structure.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions