isInlineCollapsed

open fun isInlineCollapsed(serializerParent: SafeParentInfo, tagParent: SafeParentInfo): Boolean(source)

Determines whether inline classes are merged with their content. Note that inline classes may still determine the tag name used for the data even if the actual contents come from the child content. The actual name used is ultimately determined by the policy.

Parameters

serializerParent

The information from the semantically containing serializer

tagParent

The information from the serializer for the containing tag (this can skip elements compared to the serializerParent or have introduced synthetic tags)