I am working on a project that has JSON format output. I need a clarity on the JSON array structure. So There are fields that are multiple entry like an array. If an element is an array but has only one value, does it still include an array node '[' in the structure?
Example:
This is a sample JSON element which is an array and has multiple values.
Talents: [
{
Items: test
},
{
Items: test
}
]
If this element does not have multiple values, will it appear as below?
Talents:
{
Items: test
}
The '[' does not appear for an array type element with single value. Can someone Pls clarify this?