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).
Is there a way to set maxLength in Javascript?