NRV_Encoder.default

NRV_Encoder.default(obj)[source]

Convert NRV-specific objects into JSON-serializable types.

Parameters:

obj (any) – Object to serialize.

Returns:

JSON-serializable representation of obj.

Return type:

any