json vs net.readTable for sending tables
💻 Expression 2•Updated 2 days ago•0 views
net.readTable is convenient but heavier - sending the whole table as JSON string can be cheaper for large payloads; pick based on size/frequency.
Why json.decode(net.readString()) instead of net.readTable
net.readTable is convenient but heavier - sending the whole table as JSON string can be cheaper for large payloads; pick based on size/frequency.