an><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> string</span></code></div><div class="spec-doc"><p>Convert a fieldname to a simplified string with at most one-level path. For example,</p><ul><li>In C++: &quot;&lt;ClassName&gt;::&lt;FieldName&gt;&quot;</li><li>In Java, ObjC, C#: &quot;&lt;ClassName&gt;.&lt;FieldName&gt;&quot;</li><li>In C: &quot;&lt;StructName&gt;.&lt;FieldName&gt;&quot; or &quot;&lt;UnionName&gt;.&lt;FieldName&gt;&quot;</li><li>In Erlang: &quot;&lt;FieldName&gt;&quot;