Skip to content

Data buckets: JSON support is broken  #841

@255kb

Description

@255kb

Describe the bug

Data buckets should automatically parse content to generate a JS object to be used either in the dataRaw helper or directly by linking the data bucket to the response body.
But linking a data bucket throw the following error:
image
Using the dataRaw helper returns [object Object], but this is by design as this helper should be used in combination with other Handlebars helpers (if, each, etc).

To Reproduce

Put valid JSON in a data bucket and try to serve it direct linking.

Mockoon version:

1.21.0

OS / OS version:

All

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done (ready for next release)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions