在yaml中
- 加个小横线代表这个是个列表 所有列表都可以写成中括号 , 在kubernetes中explain的时候, 当出现
<[]object>的时候 , 就表明 这个是列表 , 得用小横线去添加 - 所有映射数据可以写为花括号
在yaml中
<[]object>的时候 , 就表明 这个是列表 , 得用小横线去添加原文作者:HAOJX
原文链接:haojianxun.github.io/2018/12/03/yaml转json/
发表日期:December 3rd 2018, 12:00:00 am
更新日期:October 13th 2022, 11:23:50 pm
版权声明:本文采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: true
tags: true