Skip to content

ndjson support #483

@nett00n

Description

@nett00n

There is a fork of json format - ndjson

Newline Delimited JSON (NDJSON) is a specialized data format that provides a simple yet powerful way to handle streaming JSON data. While standard JSON is excellent for representing structured data, NDJSON addresses specific use cases where processing large datasets and streaming data is required.
(source)

Currently is not supported by dasel:

Error: could not unmarshal data: could not decode object: invalid character '.' looking for beginning of value

# cat results/benchmark_20251010_111635.jsonl  | grep scenario_result | dasel -r ndjson
Error: could not get read parser: could not get read parser: unknown parser: ndjson

# dasel --version
dasel version v2.8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions