ScalarResolver tries to detect a type of scalar value by its content (when the tag is implicit)
ScalarResolver
Resolve (detect) the tag of the scalar node of the given type.