I have an object with a set of properties (depth: 1). How to output the object as a string in a format like this:
{property1_name:property1_value} {property2_name:property2_value} {property3_name...
(the above is a single line, but property values can of course have newlines/carriage returns etc)
Let's assume I do not know the property names, they can change.
Thank you!