Better HN
topnewbestaskshowjobs
Log inSign up

jsonviewertool

2 karma · joined Dec 16, 2025 (11mo ago) · 11 submissions

Submissions

comment 11mo ago · link · parent

Fair question.

The GitHub Pages article is intentionally minimal, but it’s not meant to be a generic LLM dump. The examples come from real issues I’ve hit while working with Kubernetes manifests and CI pipelines — especially duplicate keys, implicit type coercion, and indentation edge cases that silently break JSON conversion.

I’m actively expanding it with: - concrete Kubernetes + API payload examples - cases where YAML parses but produces invalid JSON - notes on tooling differences (yq, js-yaml, browser-based parsers)

The online converter exists mainly as a reference implementation that runs fully client-side and exposes these edge cases clearly: https://jsonviewertool.com/yaml-to-json

Happy to improve the guide based on feedback — appreciate the pushback.

comment 11mo ago · link · parent

One thing I learned while writing this is how often YAML duplicate keys silently break JSON conversion in CI pipelines. Curious if others have run into similar issues.

comment 11mo ago · link · parent

YAML is great for human-readable configuration, but many APIs and tools expect JSON.

I wrote this short guide to explain when YAML → JSON conversion is required, common pitfalls (indentation, duplicate keys, anchors), and how this shows up in real Kubernetes and API workflows.

Feedback welcome.

4.

A practical guide to converting YAML to JSON safely (with Kubernetes examples)(coderaviverma.github.io ↗)

5 points · by jsonviewertool · 11mo ago · 9 comments

5.

Show HN: YAML to JSON converter focused on Kubernetes configs(jsonviewertool.com ↗)

2 points · by jsonviewertool · 11mo ago · discuss