Make it an array of objects then.

"state":["aState":{},"bState":{}....]

Looks like gender could be the same

"gender":["male":{}," female":{},...]

That eliminates a few names with the values being objects containing other values....not familiar with the source so I don't know how practical the approach would be.

Or, maybe I am still missing something....

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java
Twitter - Sys_i_Geek IBM_i_Geek

On 3/12/2019 6:55 PM, Booth Martin wrote:
Yes, I understand the pairing.  That isn't the issue.

The issue is the incredible redundancy required if we don't nest, but instead render a flat file as a flat json file.  I do not want to repeat "state: "whatever" on every single row; once for each state is enough.


On 3/12/2019 6:15 PM, Pete Helgren wrote:
Booth,

Just remember this all has to be name: value pairs

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].