Structured conversion with explicit rules
JSON must be an array of flat objects; fields are combined into CSV headers and missing values become empty cells. CSV uses commas and double quotes, including newlines inside quoted cells.
Example and limitations
CSV values remain strings when converted to JSON, preserving leading zeros. Spreadsheet formula protection is on by default and prefixes risky cells with an apostrophe. This intentionally changes text and is not a byte-exact round trip.