title: How to parse dynamic JSON with Circe
body: <p>I'm trying to parse JSON where same field can be either array or object. Same as, specific field can be either string or number. Please consider examples below.   </p>
  
  <ol>
  <li>Empty object</li>
  </ol>
  
  <pre><code>{
   "technicalData": {}
  }
  </code></pre>
  
  <ol start="2">
  <li>Collection with field being either string or number</li>
  </ol>
  
  <pre><code>{
   "technicalData": [
     { 
        "techValueString": "0.173"
     },
     { 
        "techValueString": 0.173
     }
   ]
  }
  </code></pre>
  
  <p>How can I do it with Circe mapping to Scala classes accepting Nil when data is {}?</p>
  
  <pre><code>case class Response(technicalData: Seq[TechnicalData])
  
  case class TechnicalData(techValueString: String)
  </code></pre>
  
  <p>Thanks.</p>