Accessing scene.json file content

Hi Experts,

I would like to access content of scene.json file using JavaScript API. Can anyone help me on this?

Scene.json is a storage format not runtime format, it can be modified on disk in Documents\Shapespark\SCENE_NAME\ folder. After the scene is loaded scene.json is no longer kept in JavaScript memory and accessible through API.

Could you explain what would you like to achieve, perhaps we could help more?

For instance, in javascript, I would like to know the details of views, materials etc.

This is not available in JavaScript API, you can access specific material (by name) or switch to a specific view using this API: GitHub - shapespark/shapespark-viewer-api: JavaScript API for interacting with the Shapespark 3D scene. but it doesn’t have functions to list all materials or views.