title: How to convert semicolon separated parameters to json?
body: <p>I have these variables in bash.</p>
  <pre><code>DOC='ABC=123;CDE=345;CDE=IOP'
  NEWVAR='101808'
  NEWVAR2='10240404'
  </code></pre>
  <p>I want to combine them and create a json string in bash.</p>
  <pre><code>{
     &quot;ABC&quot;: &quot;123&quot;,
     &quot;CDE&quot;: &quot;345&quot;,
     &quot;CDE&quot;: &quot;IOP&quot;,
     &quot;NEWVAR&quot;: &quot;101808&quot;,
     &quot;NEWVAR2&quot;: &quot;10240404&quot;
  }
  </code></pre>
  <p>only 'DOC' is in semicolon-separated values.
  NEWVAR and NEWVAR2 are just plain texts.</p>
  <p>can I use jq to do this?</p>