初めてyaml2jsonを使用しています。私のOSはWindows 7で、git bashを使用しています。非常に基本的なものが欠けている可能性があります。ここで助けてください/案内してください。
bash テキスト処理コマンドの出力を test.yml に送信してみましたが、test.yml ファイルが適切に作成されていることがわかります。しかし、yaml2json への入力としてフィードすると、最初の行 "version" :1 だけが解析され、エラーなしで終了します。
ただし、test.yml ファイルの内容をサイト経由でオンラインで変換しようとすると:-- http://yamltojson.com/--結果の .json は適切です。
以下は、生成された test.yml ファイルの内容です:--
version: 1
layout: post
lang: en
slug: "checklist"
type: "modal"
title: "Checklist"
published: "true"
categories: "mobile"
tags: "mobile"
action:
title: "Disguise Now" link: "close"
title: "Cancel" link: "home-ready" status: disabled checklist:
title: "Review security plan and update contacts regularly"