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.
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 theSORFilestructure as json/cbor. Something likeSORFile.to_json()andSORFile.to_cbor()? orSORFile.export('json')?Thx.