tle="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">encode</span><span class="params">(<span name="args">args: <span name="scala.List" class="extype">List</span>[<a href="https://www.scala-lang.org/api/2.13.3/scala/Any.html#scala.Any" name="scala.Any" id="scala.Any" class="extype">Any</a>]</span>)</span><span class="result">: <a href="https://docs.oracle.com/javase