<?xml version="1.0" encoding="utf-8"?> 
<rss version="2.0"
  xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
  xmlns:atom="http://www.w3.org/2005/Atom">

<channel>

<title>Discover Docker, K8s and Hashicorp Nomad with Maksym Prokopov: posts tagged json</title>
<link>https://blog.it-premium.com.ua/tags/json/</link>
<description>The blog about containerisation, virtual machines and useful shell snippets and findings</description>
<author></author>
<language>en</language>
<generator>Aegea 11.3 (v4134)</generator>

<itunes:subtitle>The blog about containerisation, virtual machines and useful shell snippets and findings</itunes:subtitle>
<itunes:image href="" />
<itunes:explicit></itunes:explicit>

<item>
<title>The simplest way to make JSON from YAML</title>
<guid isPermaLink="false">218</guid>
<link>https://blog.it-premium.com.ua/all/the-simplest-way-to-make-json-from-yaml/</link>
<pubDate>Mon, 13 Apr 2020 09:01:55 +0100</pubDate>
<author></author>
<comments>https://blog.it-premium.com.ua/all/the-simplest-way-to-make-json-from-yaml/</comments>
<description>
&lt;p&gt;you need to have ruby installed which is always true for macOS.&lt;/p&gt;
&lt;pre class="e2-text-code"&gt;&lt;code class=""&gt;function yaml2json()
{
    ruby -ryaml -rjson -e \
         &amp;#039;puts JSON.pretty_generate(YAML.load(ARGF))&amp;#039; $*
}&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;usage:&lt;/p&gt;
&lt;pre class="e2-text-code"&gt;&lt;code class=""&gt;yaml2json my.yml&lt;/code&gt;&lt;/pre&gt;</description>
</item>


</channel>
</rss>