我在取消编组嵌套的 json 数组时遇到问题。示例如下:
{
"Subnets": [
{
"AvailabilityZone": "xx",
"AvailabilityZoneId": "xx",
"AvailableIpAddressCount": 173,
"CidrBlock": "xx",
"DefaultForAz": "xx",
"MapPublicIpOnLaunch": "xx",
"MapCustomerOwnedIpOnLaunch": "xx",
"State": "xx",
"SubnetId": "xx",
"VpcId": "xx",
"OwnerId": "xx",
"AssignIpv6AddressOnCreation": "xx",
"Ipv6CidrBlockAssociationSet": [],
"Tags": [
{
"Key": "Name",
"Value": "xx"
},
{
"Key": "workload",
"Value": "xx"
},
{
"Key": "xx",
"Value": "xx"
},
{
"Key": "aws:cloudformation:stack-name",
"Value": "xx"
},
{
"Key": "host_support_group",
"Value": "xx"
},
{
"Key": "environment",
"Value": "xx"
},
{
"Key": "client",
"Value": "xx"
},
{
"Key": "aws:cloudformation:stack-id",
"Value": "xx"
},
{
"Key": "application",
"Value": "Subnet"
},
{
"Key": "xx",
"Value": "xx"
},
{
"Key": "xx",
"Value": "xx"
},
{
"Key": "xx",
"Value": "xx"
},
{
"Key": "regions",
"Value": "ca-central-1"
}
],
"SubnetArn": "xx"
}]
,
"ResponseMetadata": {
"RequestId": "xx",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "xx",
"cache-control": "no-cache, no-store",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"content-type": "text/xml;charset=UTF-8",
"content-length": "3176",
"vary": "accept-encoding",
"date": "xx",
"server": "AmazonEC2"
},
"RetryAttempts": 0
}
}
炎炎设计
慕莱坞森
相关分类