The TABLETOJSON() function converts a table of values into text in "JSON" format.
=TABLETOJSON(Range)
The TABLETOJSON() function is easy to use. You just need to select a table or specify any range of cells with values and LibreOffice Calc will automatically return the text in "JSON" format:
=TABLETOJSON(Range)
We will have the following result:
This example uses the following values:
You can use the TABLETOJSON() function by installing the extension "YLC_Utilities.oxt" .
After that, this function will be available in all files that will be opened in LibreOffice Calc.