Tipalti Interview Question

Implement a utility to print a simple object(*) with correct indentation. (*) Simple object = an object with only public properties, each object can either be an object or a primitive.