encode Concentration Content To String
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
concentration
The concentration containing the content to convert.
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.