Next: GeoJSON, Previous: DXFB, Up: Other Formats [Contents][Index]
We write to and read back from our own JSON format, which is a readable 1:1 mapping of the DWG structures, and carries much more information than the DXF format. The idea is to dump a DWG to JSON and filter/query or postprocess it with more powerful JSON query tools such as jq (https://stedolan.github.io/jq/), and optionally import it back in. See Programs: dwgfilter. JSON is much better structured than DXF.
The current first level objects are all the section names, like “HEADER”, “CLASSES”, “OBJECTS”. For more see the specs.