Click here to Skip to main content
15,887,083 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
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 
GeneralRe: Code generator ideas? Maybe a JSON entity framework? Pin
honey the codewitch20-Nov-23 8:24
mvahoney the codewitch20-Nov-23 8:24 
JSON Schema, like XML Schema allows you send something like type information over the wire. Like XML Schema it operates and validates in lexical space rather than value space, but it's good enough to impose "typed" validation on one's data.

But even if you didn't send it, creating hard typed JSON entity objects on say, the C# receiving end allows you to validate that JSON that came from the wire, and apply strict typing to it via the properties on the generated entity objects.

TL;DR version: The solution is similar to XML.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix

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 
GeneralRe: PySide vs. .NET WinForms for a Desktop GUI App in 2023? Pin
Ravi Bhavnani19-Nov-23 19:00
professionalRavi Bhavnani19-Nov-23 19:00 

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.