Skip to content

JSON array names #9

@jonnio

Description

@jonnio

When generating the JSON, the output does not include names for the arrays. When converting to an object, the arrays are anonymous and makes navigating the objects very difficult.

for example

"N1-1000A_loop": [
{
"N1_01": "PR", 
"N1_02": "PROVIDER"
}, 
{
"N3_01": "151 ADDRESS AVENUE"
}, 
{
"N4_01": "MASON", 
"N4_02": "CT", 
"N4_03": "06446"
}, 
{
"PER_01": "BL", 
"PER_02": "Provider Service"
}
]

should be something like this which has the actual object name vs. array.

"N1-1000A_loop": {
"N1": {
"N1_01": "PR", 
"N1_02": "PROVIDER"
}, 
"N3": {
"N3_01": "151 ADDRESS AVENUE"
}, 
"N4": {
"N4_01": "MASON", 
"N4_02": "CT", 
"N4_03": "06446"
}, 
"PER": {
"PER_01": "BL", 
"PER_02": "Provider Service"
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions