grafana / grafana/vscode-jsonnet

Convert YAML to Jsonnet

Open
#43 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
86
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Would love a function to convert YAML (with comments) to Jsonnet. Plugins to convert YAML to JSON already exist, but unfortunately, they drop comments (as they should, because JSON doesn't support them). Additionally, keys are usually quoted, which is unnecessary in Jsonnet.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing how the VS Code extension currently handles YAML-related conversion and how existing YAML-to-JSON plugins treat comments and quoted keys. Define the conversion behavior for preserving comments and emitting Jsonnet syntax, then verify that the resulting output meets both requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, vscode, yaml
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.