Skip to content

Broken JSON definitions #35

@csansoon

Description

@csansoon

When defining a JSON variable in promptl, wrapping the object keys with " returns a broken object:

{{ works = { foo: "bar" } }}
{{ fails = { "foo": "bar" } }}

{{ fails }}  /* { "undefined": "bar" */

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions