ulkb.Object.to_ulkb#
- Object.to_ulkb(to=None, encoding=None, **kwargs)#
- Serializes object to ULKB stream. - Parameters:
- to – Target file path or stream object. 
- encoding – Encoding. 
- kwargs – Options to serializer. 
 
- Returns:
- The resulting string if to is - None. Otherwise, write the resulting string to to and returns- None.