Click here to Skip to main content
15,886,919 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: Code generator ideas? Maybe a JSON entity framework? Pin
jeron120-Nov-23 7:00
jeron120-Nov-23 7:00 
GeneralRe: Code generator ideas? Maybe a JSON entity framework? Pin
honey the codewitch20-Nov-23 7:36
mvahoney the codewitch20-Nov-23 7:36 
GeneralRe: Code generator ideas? Maybe a JSON entity framework? Pin
jeron120-Nov-23 7:47
jeron120-Nov-23 7:47 
GeneralRe: Code generator ideas? Maybe a JSON entity framework? Pin
honey the codewitch20-Nov-23 7:03
mvahoney the codewitch20-Nov-23 7:03 
GeneralRe: Code generator ideas? Maybe a JSON entity framework? Pin
Member 1614437720-Nov-23 7:08
Member 1614437720-Nov-23 7:08 
GeneralRe: Code generator ideas? Maybe a JSON entity framework? Pin
honey the codewitch20-Nov-23 7:09
mvahoney the codewitch20-Nov-23 7:09 
GeneralRe: Code generator ideas? Maybe a JSON entity framework? Pin
Alister Morton20-Nov-23 23:41
Alister Morton20-Nov-23 23:41 
AnswerRe: Code generator ideas? Maybe a JSON entity framework? Pin
jschell20-Nov-23 8:01
jschell20-Nov-23 8:01 
honey the codewitch wrote:
Does Microsoft already produce a JSON entity framework type thing that gives you typed access to JSON data?
Edit: NVM, I finally found one. Microsoft didn't write it, but it's much more ambitious than anything I'd come up with.


Rather curious about that.

Transmitting data over the wire guarantees that there is no type. Because of course type is really an artificial construct that is enforced by code (compiler, loader, etc.)

One can create data constructs that add type. For example (not a viable one but good enough.)

"type": "int",
"DValue1": "13"
"type": "string",
"DValue2": "xxx"


But is has the same problem if one doesn't do it in that the 'type' itself might not be known at the other end.

So what is the solution that you found?
GeneralRe: Code generator ideas? Maybe a JSON entity framework? Pin
honey the codewitch20-Nov-23 8:24
mvahoney the codewitch20-Nov-23 8:24 
GeneralRe: Code generator ideas? Maybe a JSON entity framework? Pin
jschell21-Nov-23 5:02
jschell21-Nov-23 5:02 
GeneralRe: Code generator ideas? Maybe a JSON entity framework? Pin
honey the codewitch21-Nov-23 5:03
mvahoney the codewitch21-Nov-23 5:03 
GeneralHow the Heck Pin
BernardIE531718-Nov-23 19:41
BernardIE531718-Nov-23 19:41 
GeneralRe: How the Heck Pin
GKP199218-Nov-23 23:23
professionalGKP199218-Nov-23 23:23 
RantCome on Microsoft! Pin
honey the codewitch18-Nov-23 18:55
mvahoney the codewitch18-Nov-23 18:55 
GeneralRe: Come on Microsoft! Pin
Daniel Pfeffer19-Nov-23 3:20
professionalDaniel Pfeffer19-Nov-23 3:20 
GeneralRe: Come on Microsoft! Pin
jschell20-Nov-23 8:05
jschell20-Nov-23 8:05 
GeneralRe: Come on Microsoft! Pin
honey the codewitch20-Nov-23 8:40
mvahoney the codewitch20-Nov-23 8:40 
GeneralWordle 883 Pin
Sandeep Mewara18-Nov-23 17:53
mveSandeep Mewara18-Nov-23 17:53 
GeneralRe: Wordle 883 - 3 4 me Pin
pkfox18-Nov-23 20:47
professionalpkfox18-Nov-23 20:47 
GeneralRe: Wordle 883 Pin
GKP199218-Nov-23 23:22
professionalGKP199218-Nov-23 23:22 
GeneralRe: Wordle 883 Pin
Cp-Coder19-Nov-23 10:04
Cp-Coder19-Nov-23 10:04 
GeneralRe: Wordle 883 5/6 Pin
jmaida19-Nov-23 14:45
jmaida19-Nov-23 14:45 
GeneralPySide vs. .NET WinForms for a Desktop GUI App in 2023? Pin
Prahlad Yeri18-Nov-23 21:15
Prahlad Yeri18-Nov-23 21:15 
GeneralRe: PySide vs. .NET WinForms for a Desktop GUI App in 2023? Pin
Gerry Schmitz19-Nov-23 8:54
mveGerry Schmitz19-Nov-23 8:54 
GeneralRe: PySide vs. .NET WinForms for a Desktop GUI App in 2023? Pin
Lloyd Dupont19-Nov-23 12:51
Lloyd Dupont19-Nov-23 12:51 

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.