You are here: PSPad forum > English discussion forum > JSON - separate a list of objects [{},{}] inside an array in code explorer
Posted by: michael.hollstein | Date: 2018-03-19 14:35 | IP: IP Logged
In code explorer, I can't see that there are many objects inside an JSON array and I'm not be able to expand separate objects.
Example JSON
{
"VM": [
{
"Name": "server1",
"Alias": "vm-server1",
"Volumes": [
{
"Path": "/dev/ubuntu-vg/server1-disk",
"Size": "8.00g"
},
{
"Path": "/dev/ubuntu-vg/server1-swap",
"Size": "128.00m"
}
]
}
Code Explorer Output is
...
v Volumes
Path
Size
Path
Size
Code Explorer Output should be
...
v Volumes
v
Path
Size
v
Path
Size
Edited 1 time(s). Last edit at 2018-03-19 14:38 by michael.hollstein.
Posted by: michael.hollstein | Date: 2018-03-19 14:55 | IP: IP Logged
If you copy the JSON into this parser, you can see what I mean.
{
"VM": [
{
"Name": "server1",
"Alias": "vm-server1",
"Volumes": [
{
"Path": "/dev/ubuntu-vg/server1-disk",
"Size": "8.00g"
},
{
"Path": "/dev/ubuntu-vg/server1-swap",
"Size": "128.00m"
}
]
}
]
}
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR