on.obj(
        &quot;type&quot;  -&gt; &quot;number&quot;,
        &quot;label&quot; -&gt; &quot;Max request length&quot;,
        &quot;props&quot; -&gt; Json.obj(
          &quot;label&quot;  -&gt; &quot;Max request Length&quot;,
          &quot;suffix&quot; -&gt; &quot;bytes&quot;
        )
      )
    )
  )
  val format = new Format[BodyLengthLimiterConfig] {
    override def reads(json: JsValue): JsResult[BodyLengthLimiterConfig] = Try {
      BodyLengthLimiterConfig(
        maxRequestBodySize = json