how to serialize all forms on a single click

serializeexpoundsofttechsolution https://expoundsofttechsolution.com/2022/03/03/how-to-serialize-all-forms-on-single-click/
<form>
<input class="tbclass1" name="tb1" id="tb_id1" type="text">
</form>

<form>
<input class="tbclass2" name="tb2" id="tb_id2" type="text">
</form>
<button class ="save">Save data</button>

<script>
$(document).on("click", ".save", function (event) {
var obj =  $("form").serializeArray();
event.preventDefault();
});
</script>