Skip to content

[Feat] Python: export to json and cbor #4

@RemiDesgrange

Description

@RemiDesgrange

Hi,

I'm so glad you added Python support to this lib.

I was using pyOTDR to transform SOR files to json, it's not currently possible with otdrs to do it easily.

I can try to put up a PR to export a function to use serde_(json|cbor) to export the SORFile structure as json/cbor. Something like SORFile.to_json() and SORFile.to_cbor() ? or SORFile.export('json') ?

Thx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions