encodeConcentrationContentToString
Utility function that converts a concentration content of type T to a Json String. If the serialization fails (i.e. the content does not provide a serializer), the string representation of the content is returned.
Return
The Json String representation of the concentration content or its string representation.
Parameters
content
The concentration content to convert.