PublishToGallery.ps1

$p = @{
    Name        = "PowerShellJsonObject"
    NuGetApiKey = $NuGetApiKey
}

Publish-Module @p