Click here to Skip to main content
15,113,873 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralOi! honey the codewitch! Pin
OriginalGriff12-Dec-20 21:02
mveOriginalGriff12-Dec-20 21:02 
GeneralRe: Oi! honey the codewitch! Pin
honey the codewitch13-Dec-20 0:11
mvahoney the codewitch13-Dec-20 0:11 
GeneralRe: Oi! honey the codewitch! Pin
Sander Rossel13-Dec-20 2:05
professionalSander Rossel13-Dec-20 2:05 
GeneralRe: Oi! honey the codewitch! Pin
honey the codewitch13-Dec-20 3:02
mvahoney the codewitch13-Dec-20 3:02 
GeneralJSON is almost perfect, except... Pin
honey the codewitch12-Dec-20 17:47
mvahoney the codewitch12-Dec-20 17:47 
GeneralRe: JSON is almost perfect, except... Pin
BillWoodruff12-Dec-20 20:05
mveBillWoodruff12-Dec-20 20:05 
GeneralRe: JSON is almost perfect, except... Pin
honey the codewitch13-Dec-20 0:06
mvahoney the codewitch13-Dec-20 0:06 
GeneralRe: JSON is almost perfect, except... Pin
trønderen12-Dec-20 20:28
Membertrønderen12-Dec-20 20:28 
I'd say that JSON is suitable in environments where reading the structure into memory is The Thing To Do.
If you cannot read the whole thing into memory, maybe JSON isn't for you Smile | :)

This, of course, assumes that JSON is suitable at all.

But for a general comment: The very idea of a tagged record structure is to be independent of ordering. If the ordering where fixed according to some schema, an array would probably be a better choice. Then you could omit the tags altogether, saving both space and processing.
GeneralRe: JSON is almost perfect, except... Pin
honey the codewitch13-Dec-20 0:07
mvahoney the codewitch13-Dec-20 0:07 
GeneralRe: JSON is almost perfect, except... Pin
Greg Utas13-Dec-20 2:29
mvaGreg Utas13-Dec-20 2:29 
GeneralRe: JSON is almost perfect, except... Pin
honey the codewitch13-Dec-20 3:03
mvahoney the codewitch13-Dec-20 3:03 
GeneralRe: JSON is almost perfect, except... Pin
Greg Utas13-Dec-20 3:05
mvaGreg Utas13-Dec-20 3:05 
GeneralRe: JSON is almost perfect, except... Pin
honey the codewitch13-Dec-20 3:10
mvahoney the codewitch13-Dec-20 3:10 
GeneralRe: JSON is almost perfect, except... Pin
Gerry Schmitz13-Dec-20 7:01
mveGerry Schmitz13-Dec-20 7:01 
GeneralRe: JSON is almost perfect, except... Pin
PIEBALDconsult13-Dec-20 7:47
professionalPIEBALDconsult13-Dec-20 7:47 
GeneralRe: JSON is almost perfect, except... Pin
PIEBALDconsult13-Dec-20 7:41
professionalPIEBALDconsult13-Dec-20 7:41 
GeneralRe: JSON is almost perfect, except... Pin
honey the codewitch13-Dec-20 8:07
mvahoney the codewitch13-Dec-20 8:07 
GeneralRe: JSON is almost perfect, except... Pin
Jörgen Andersson13-Dec-20 21:27
professionalJörgen Andersson13-Dec-20 21:27 
GeneralRe: JSON is almost perfect, except... Pin
honey the codewitch14-Dec-20 2:30
mvahoney the codewitch14-Dec-20 2:30 
GeneralRe: JSON is almost perfect, except... Pin
Jörgen Andersson14-Dec-20 2:37
professionalJörgen Andersson14-Dec-20 2:37 
GeneralRIP Charley Pride Pin
Cp-Coder12-Dec-20 13:44
MemberCp-Coder12-Dec-20 13:44 
GeneralWhen you're very clever you are really stupid Pin
Cp-Coder12-Dec-20 9:06
MemberCp-Coder12-Dec-20 9:06 
GeneralRe: When you're very clever you are really stupid Pin
Rick York12-Dec-20 9:25
mveRick York12-Dec-20 9:25 
GeneralRe: When you're very clever you are really stupid Pin
Cp-Coder12-Dec-20 10:55
MemberCp-Coder12-Dec-20 10:55 
GeneralRe: When you're very clever you are really stupid Pin
trønderen12-Dec-20 13:46
Membertrønderen12-Dec-20 13:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.