libpyvinyl.Parameters.Collections.quantity_encode

libpyvinyl.Parameters.Collections.quantity_encode

libpyvinyl.Parameters.Collections.quantity_encode(obj, primitives=False)

Function to encode pint.Quantity object in json