Click here to Skip to main content
15,891,423 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.

 
GeneralRe: I am coming to seriously love JSON. Pin
thewazz23-Nov-20 18:04
professionalthewazz23-Nov-20 18:04 
GeneralRe: I am coming to seriously love JSON. Pin
Richard MacCutchan21-Nov-20 6:55
mveRichard MacCutchan21-Nov-20 6:55 
GeneralRe: I am coming to seriously love JSON. PinPopular
Richard Andrew x6421-Nov-20 7:00
professionalRichard Andrew x6421-Nov-20 7:00 
GeneralRe: I am coming to seriously love JSON. Pin
dandy7221-Nov-20 7:49
dandy7221-Nov-20 7:49 
GeneralRe: I am coming to seriously love JSON. Pin
Slacker00721-Nov-20 8:56
professionalSlacker00721-Nov-20 8:56 
GeneralRe: I am coming to seriously love JSON. Pin
honey the codewitch21-Nov-20 10:03
mvahoney the codewitch21-Nov-20 10:03 
PraiseRe: I am coming to seriously love JSON. Pin
Slacker00721-Nov-20 10:36
professionalSlacker00721-Nov-20 10:36 
GeneralRe: I am coming to seriously love JSON. Pin
W Balboos, GHB22-Nov-20 1:54
W Balboos, GHB22-Nov-20 1:54 
I discovered the simpleton's beauty in it a year or two ago.

The need to get multiple pieces of data back from AJAX. It can do much more but I like to imagine it was designed and built for this purpose - where only one string comes back. No more worries with parsers where where, no matter what delimiter I choose some jackass user decided they must have it in their input. Even '|' had its sanctity violated. (I gave up and sanitize all user input). JSON gets rid of that for me in the name of "going forward".

One oddity in my use:   I typically build the JSON stings from my own code but do convert them back with the ubiquitous version of it that exist it most languages (that I care about).

One thing - you'll likely do your own research: SQL Server actually allows a JSON type - a type that can be searched with with SQL WHERE clauses. So I asked my fearless leader, a particularly good DBA, what he thought of it. Apparently, as he sees it, the overhead involved will be horrific in terms of performance.
Ravings en masse^
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

GeneralRe: I am coming to seriously love JSON. Pin
Gerry Schmitz22-Nov-20 4:01
mveGerry Schmitz22-Nov-20 4:01 
Generalfor the CodeProject community in locked-down Toronto: best wishes ! Pin
BillWoodruff21-Nov-20 4:42
professionalBillWoodruff21-Nov-20 4:42 
GeneralRe: for the CodeProject community in locked-down Toronto: best wishes ! Pin
OriginalGriff21-Nov-20 5:11
mveOriginalGriff21-Nov-20 5:11 
GeneralRe: for the CodeProject community in locked-down Toronto: best wishes ! Pin
Gary R. Wheeler21-Nov-20 7:37
Gary R. Wheeler21-Nov-20 7:37 
GeneralRe: for the CodeProject community in locked-down Toronto: best wishes ! Pin
OriginalGriff21-Nov-20 7:56
mveOriginalGriff21-Nov-20 7:56 
GeneralRe: for the CodeProject community in locked-down Toronto: best wishes ! Pin
Ravi Bhavnani21-Nov-20 21:06
professionalRavi Bhavnani21-Nov-20 21:06 
GeneralRe: for the CodeProject community in locked-down Toronto: best wishes ! Pin
Gary R. Wheeler22-Nov-20 5:47
Gary R. Wheeler22-Nov-20 5:47 
GeneralRe: for the CodeProject community in locked-down Toronto: best wishes ! Pin
GenJerDan22-Nov-20 22:53
GenJerDan22-Nov-20 22:53 
GeneralRe: for the CodeProject community in locked-down Toronto: best wishes ! Pin
Gary R. Wheeler23-Nov-20 11:04
Gary R. Wheeler23-Nov-20 11:04 
GeneralRe: for the CodeProject community in locked-down Toronto: best wishes ! Pin
GenJerDan23-Nov-20 22:18
GenJerDan23-Nov-20 22:18 
GeneralRe: for the CodeProject community in locked-down Toronto: best wishes ! Pin
Gary R. Wheeler24-Nov-20 2:50
Gary R. Wheeler24-Nov-20 2:50 
NewsAnd what will you be having for dinner? Pin
Slacker00721-Nov-20 2:42
professionalSlacker00721-Nov-20 2:42 
GeneralRe: And what will you be having for dinner? Pin
OriginalGriff21-Nov-20 3:00
mveOriginalGriff21-Nov-20 3:00 
GeneralRe: And what will you be having for dinner? Pin
RickZeeland21-Nov-20 3:16
mveRickZeeland21-Nov-20 3:16 
GeneralRe: And what will you be having for dinner? Pin
honey the codewitch21-Nov-20 3:22
mvahoney the codewitch21-Nov-20 3:22 
GeneralRe: And what will you be having for dinner? PinPopular
OriginalGriff21-Nov-20 4:01
mveOriginalGriff21-Nov-20 4:01 
GeneralRe: And what will you be having for dinner? Pin
Sander Rossel21-Nov-20 3:25
professionalSander Rossel21-Nov-20 3:25 

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.