Constructor to create new serializer instance
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(toml_serializer), | intent(out) | :: | self |
Instance of the TOML serializer |
||
type(toml_ser_config), | intent(in), | optional | :: | config |
Configuration for serializer |
subroutine new_serializer(self, config) !> Instance of the TOML serializer type(toml_serializer), intent(out) :: self !> Configuration for serializer type(toml_ser_config), intent(in), optional :: config self%output = "" if (present(config)) self%config = config end subroutine new_serializer