Click here to Skip to main content
14,428,725 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.
 
JokeRe: i love JSON. i'm not sure the relationship is healthy though Pin
Nelek5-Sep-19 20:33
protectorNelek5-Sep-19 20:33 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
honey the codewitch5-Sep-19 20:35
mvahoney the codewitch5-Sep-19 20:35 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
Jörgen Andersson5-Sep-19 22:21
communityengineerJörgen Andersson5-Sep-19 22:21 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
honey the codewitch5-Sep-19 22:35
mvahoney the codewitch5-Sep-19 22:35 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
Jörgen Andersson6-Sep-19 0:25
communityengineerJörgen Andersson6-Sep-19 0:25 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
honey the codewitch6-Sep-19 0:28
mvahoney the codewitch6-Sep-19 0:28 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
Jörgen Andersson6-Sep-19 0:36
communityengineerJörgen Andersson6-Sep-19 0:36 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
honey the codewitch6-Sep-19 0:38
mvahoney the codewitch6-Sep-19 0:38 
Typically even with tools that support it - and many do not, you have to use XML Schema, and then set the indexed key attribute in the schema.

for JSON every fieldname is automatically indexed. that's why they are spec'd as unordered.

it's primarily due to a difference in spec.

in XML element tags are ordered, meaning they must be ordered as presented in the document (they cannot be reordered to make searching faster)

in JSON object fields are unordered, meaning their order can't be relied on which means the system can reorder it as it likes to make searching faster - and every single tool i've ever encountered for JSON does this directly or indirectly)
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
Sander Rossel5-Sep-19 21:37
professionalSander Rossel5-Sep-19 21:37 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
honey the codewitch5-Sep-19 21:43
mvahoney the codewitch5-Sep-19 21:43 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
Slacker0075-Sep-19 22:44
professionalSlacker0075-Sep-19 22:44 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
honey the codewitch6-Sep-19 0:36
mvahoney the codewitch6-Sep-19 0:36 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
Slacker0076-Sep-19 1:31
professionalSlacker0076-Sep-19 1:31 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
honey the codewitch6-Sep-19 1:34
mvahoney the codewitch6-Sep-19 1:34 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
Slacker0076-Sep-19 1:40
professionalSlacker0076-Sep-19 1:40 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
honey the codewitch6-Sep-19 1:40
mvahoney the codewitch6-Sep-19 1:40 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
Slacker0076-Sep-19 1:43
professionalSlacker0076-Sep-19 1:43 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
honey the codewitch6-Sep-19 1:43
mvahoney the codewitch6-Sep-19 1:43 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
Slacker0076-Sep-19 1:44
professionalSlacker0076-Sep-19 1:44 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
honey the codewitch6-Sep-19 1:47
mvahoney the codewitch6-Sep-19 1:47 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
Slacker0076-Sep-19 1:52
professionalSlacker0076-Sep-19 1:52 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
honey the codewitch6-Sep-19 1:53
mvahoney the codewitch6-Sep-19 1:53 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
lw@zi 5-Sep-19 22:23
professional lw@zi 5-Sep-19 22:23 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
honey the codewitch5-Sep-19 22:34
mvahoney the codewitch5-Sep-19 22:34 
GeneralRe: i love JSON. i'm not sure the relationship is healthy though Pin
lw@zi 5-Sep-19 23:01
professional lw@zi 5-Sep-19 23:01 

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.