// Create a new workbook Workbook workbook = new Workbook(); // Change the path to the real file path when open. workbook.open("source.sjs"); // Generate a JSON string containing the contents of .sjs file format. SjsSaveOptions saveOptions = new SjsSaveOptions(); String sjsJson = workbook.toSjsJson(saveOptions); // Generates a workbook from the JSON string containing the contents of .sjs file format. SjsOpenOptions openOptions = new SjsOpenOptions(); workbook.fromSjsJson(sjsJson, openOptions);