title: How to set json maxlength in javascript?
body: <p>I want to set Json maxlength during serialization in Javascript as I am creating Obj in Js file itself. From there I am sending to a controller Action (MVC).</p>
  <p>Is there a way to set maxLength in Javascript?</p>