ShortenTag(String) Method

Definition

Assembly SharpYaml.dll

Shortens the tag. Example, transforms a long tag 'tag:yaml.org,2002:str' to its short version '!!str'

string? ShortenTag(string tag)

Parameters

tag
String

The tag.

Returns

String
Expanded version of the tag.