json - 带引号的 Json paser 输出
问题描述
我需要用引号输出我已经尝试了几种不同的方法但没有运气这需要像这样输出 bind = "0.0.0.0:25577" 但它只是像这样 bind = 0.0.0.0:25577 输出
{
"velocity.toml": {
"parser": "toml",
"find": {
"bind": "{{server.build.default.ip}}:{{server.build.default.port}}"
}
}
}
解决方案
推荐阅读
- angular - 我是否必须创建一个指令来解决这个问题
- python - 让 discord bot 播放来自 spotify 的歌曲
- python - 在python中添加水印无法正确打开文档
- javascript - Selenium scrollToElement 功能无法按预期工作,测试不会滚动
- java - 为什么弹簧数据 jpa 中的“保存”方法不起作用?
- sql - SQL Server 代理 - 作业错误 - 'DataSourceType'
- scala - 如何在使用 Scala 的 Spark Dataframe 查询中使用自定义函数
- python - 如何在 Flask-Cache 中替换(而不是完全重新计算)记忆结果
- c++ - 转换 std::vector
使用 std::views 在 C++20 中只是一个 std::string - python - 有没有办法在 Python 中获取 ASCII 字符?