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

 
AnswerRe: JSON responses -- what's your preference? Pin
User 48350473-Apr-19 4:10
User 48350473-Apr-19 4:10 
AnswerRe: JSON responses -- what's your preference? Pin
dan!sh 3-Apr-19 4:27
professional dan!sh 3-Apr-19 4:27 
AnswerRe: JSON responses -- what's your preference? Pin
Richard Deeming3-Apr-19 8:15
mveRichard Deeming3-Apr-19 8:15 
AnswerRe: JSON responses -- what's your preference? Pin
Chris Maunder3-Apr-19 9:17
cofounderChris Maunder3-Apr-19 9:17 
AnswerRe: JSON responses -- what's your preference? Pin
dandy723-Apr-19 10:19
dandy723-Apr-19 10:19 
QuestionRe: JSON responses -- what's your preference? Pin
Super Lloyd3-Apr-19 13:51
Super Lloyd3-Apr-19 13:51 
AnswerRe: JSON responses -- what's your preference? Pin
agolddog4-Apr-19 2:45
agolddog4-Apr-19 2:45 
AnswerRe: JSON responses -- what's your preference? Pin
Kirk 103898214-Apr-19 4:25
Kirk 103898214-Apr-19 4:25 
Personally, I prefer to always have the response wrapped.
First, it makes it easier to extend in the future without breaking things.
I have been around long enough, that code I wrote in the 1980s is still being used today!
And the hardest thing to adjust is the data structure changes, because it impacts everything!

Next, it just seems more consistent to always be wrapped. I could be biased by using a system or two that were always wrapped. And their inner objects were always consistent objects, and moveable between other container objects.

AnswerRe: JSON responses -- what's your preference? Pin
Gerry Schmitz4-Apr-19 13:06
mveGerry Schmitz4-Apr-19 13:06 
AnswerRe: JSON responses -- what's your preference? Pin
paheal4-Apr-19 19:44
professionalpaheal4-Apr-19 19:44 
AnswerRe: JSON responses -- what's your preference? Pin
maze34-Apr-19 22:47
professionalmaze34-Apr-19 22:47 
AnswerRe: JSON responses -- what's your preference? Pin
thewazz8-Sep-19 9:39
professionalthewazz8-Sep-19 9:39 
GeneralSo... Pin
#realJSOP3-Apr-19 0:55
professional#realJSOP3-Apr-19 0:55 
GeneralRe: So... Pin
CodeWraith3-Apr-19 1:04
CodeWraith3-Apr-19 1:04 
GeneralRe: So... Pin
OriginalGriff3-Apr-19 1:11
mveOriginalGriff3-Apr-19 1:11 
GeneralRe: So... Pin
HobbyProggy3-Apr-19 1:16
professionalHobbyProggy3-Apr-19 1:16 
GeneralRe: So... Pin
OriginalGriff3-Apr-19 1:31
mveOriginalGriff3-Apr-19 1:31 
GeneralRe: So... Pin
HobbyProggy9-Apr-19 1:01
professionalHobbyProggy9-Apr-19 1:01 
GeneralRe: So... Pin
Eddy Vluggen3-Apr-19 1:19
professionalEddy Vluggen3-Apr-19 1:19 
GeneralRe: So... Pin
CodeWraith3-Apr-19 1:26
CodeWraith3-Apr-19 1:26 
GeneralRe: So... Pin
Eddy Vluggen3-Apr-19 2:25
professionalEddy Vluggen3-Apr-19 2:25 
GeneralRe: So... Pin
CodeWraith3-Apr-19 2:34
CodeWraith3-Apr-19 2:34 
GeneralRe: So... Pin
Tom Deketelaere3-Apr-19 3:24
professionalTom Deketelaere3-Apr-19 3:24 
GeneralRe: So... Pin
Eddy Vluggen3-Apr-19 4:01
professionalEddy Vluggen3-Apr-19 4:01 
GeneralRe: So... Pin
Tom Deketelaere3-Apr-19 4:22
professionalTom Deketelaere3-Apr-19 4:22 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   494 votes