fdtdx.export_json

Contents

fdtdx.export_json#

fdtdx.export_json(obj)[source]#

Create a dictionary from the given object for exporting to JSON. Can be used for serialization.

Parameters:

obj (Any) – The object to serialize.

Returns:

Dictionary representing the object

Return type:

dict