new_serializer Subroutine

public subroutine new_serializer(self, config)

Constructor to create new serializer instance

Arguments

Type IntentOptional Attributes Name
type(toml_serializer), intent(out) :: self

Instance of the TOML serializer

type(toml_ser_config), intent(in), optional :: config

Configuration for serializer


Source Code

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