Click here to Skip to main content
15,884,473 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 20:02
mveOriginalGriff12-Dec-20 20:02 
GeneralRe: Oi! honey the codewitch! Pin
honey the codewitch12-Dec-20 23:11
mvahoney the codewitch12-Dec-20 23:11 
GeneralRe: Oi! honey the codewitch! Pin
Sander Rossel13-Dec-20 1:05
professionalSander Rossel13-Dec-20 1:05 
GeneralRe: Oi! honey the codewitch! Pin
honey the codewitch13-Dec-20 2:02
mvahoney the codewitch13-Dec-20 2:02 
GeneralJSON is almost perfect, except... Pin
honey the codewitch12-Dec-20 16:47
mvahoney the codewitch12-Dec-20 16:47 
GeneralRe: JSON is almost perfect, except... Pin
BillWoodruff12-Dec-20 19:05
professionalBillWoodruff12-Dec-20 19:05 
GeneralRe: JSON is almost perfect, except... Pin
honey the codewitch12-Dec-20 23:06
mvahoney the codewitch12-Dec-20 23:06 
GeneralRe: JSON is almost perfect, except... Pin
trønderen12-Dec-20 19:28
trønderen12-Dec-20 19: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 codewitch12-Dec-20 23:07
mvahoney the codewitch12-Dec-20 23:07 
GeneralRe: JSON is almost perfect, except... Pin
Greg Utas13-Dec-20 1:29
professionalGreg Utas13-Dec-20 1:29 
GeneralRe: JSON is almost perfect, except... Pin
honey the codewitch13-Dec-20 2:03
mvahoney the codewitch13-Dec-20 2:03 
GeneralRe: JSON is almost perfect, except... Pin
Greg Utas13-Dec-20 2:05
professionalGreg Utas13-Dec-20 2:05 
GeneralRe: JSON is almost perfect, except... Pin
honey the codewitch13-Dec-20 2:10
mvahoney the codewitch13-Dec-20 2:10 
GeneralRe: JSON is almost perfect, except... Pin
Gerry Schmitz13-Dec-20 6:01
mveGerry Schmitz13-Dec-20 6:01 
GeneralRe: JSON is almost perfect, except... Pin
PIEBALDconsult13-Dec-20 6:47
mvePIEBALDconsult13-Dec-20 6:47 
GeneralRe: JSON is almost perfect, except... Pin
PIEBALDconsult13-Dec-20 6:41
mvePIEBALDconsult13-Dec-20 6:41 
GeneralRe: JSON is almost perfect, except... Pin
honey the codewitch13-Dec-20 7:07
mvahoney the codewitch13-Dec-20 7:07 
GeneralRe: JSON is almost perfect, except... Pin
Jörgen Andersson13-Dec-20 20:27
professionalJörgen Andersson13-Dec-20 20:27 
GeneralRe: JSON is almost perfect, except... Pin
honey the codewitch14-Dec-20 1:30
mvahoney the codewitch14-Dec-20 1:30 
GeneralRe: JSON is almost perfect, except... Pin
Jörgen Andersson14-Dec-20 1:37
professionalJörgen Andersson14-Dec-20 1:37 
GeneralRIP Charley Pride Pin
Cp-Coder12-Dec-20 12:44
Cp-Coder12-Dec-20 12:44 
GeneralWhen you're very clever you are really stupid Pin
Cp-Coder12-Dec-20 8:06
Cp-Coder12-Dec-20 8:06 
GeneralRe: When you're very clever you are really stupid Pin
Rick York12-Dec-20 8:25
mveRick York12-Dec-20 8:25 
GeneralRe: When you're very clever you are really stupid Pin
Cp-Coder12-Dec-20 9:55
Cp-Coder12-Dec-20 9:55 
GeneralRe: When you're very clever you are really stupid Pin
trønderen12-Dec-20 12:46
trønderen12-Dec-20 12: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.