JP
JP
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
For future readers, evidently System.Text.Json will not access the backing fields of auto properties via reflection (by default? for overridden props? ever?), so if there is no set;-er, you're toast
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
never used code with me, but let's try it, sounds interesting
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
do you have a repo of this by chance?
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
this is ending up one of those "oh god what is System.Text.Json doing?" things lol
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
hmm, curious what those are
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
asking for the specifics of
it did not work though until I wrote this converter
Because I'm surprised this required custom
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
does that mean it was always null before this converter, regardless of type?
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
(noting, that should not matter, but thats a difference lmao)
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
crazy question, what if you make Buildings a list on CustomScenario
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
(assuming its always the same ones)
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
do you have an example of which properties end up null?
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
printing the string form of a might also give hints as to whether the problem starts at the serialization phase, rather than the deserialization phase
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
and maybe the SerializerOptions
46 replies
CC#
Created by ~bfg on 10/20/2024 in #help
Struggling with JSON
really would need to see the class being serialized
46 replies
CC#
Created by MKM on 10/19/2024 in #help
C# Basic animation, cant get a circle to align between two lines
Hey, awesome 🎉 thanks for lettin me know!
49 replies
CC#
Created by MKM on 10/19/2024 in #help
C# Basic animation, cant get a circle to align between two lines
gotchu!
49 replies
CC#
Created by MKM on 10/19/2024 in #help
C# Basic animation, cant get a circle to align between two lines
Not sure tbh, you can just ping me in one of the channels if this ends up auto-closed
49 replies
CC#
Created by MKM on 10/19/2024 in #help
C# Basic animation, cant get a circle to align between two lines
yeah, happy to brainstorm if it ends up not straightforward to fix! lmk how it goes!
49 replies
CC#
Created by MKM on 10/19/2024 in #help
C# Basic animation, cant get a circle to align between two lines
I have a lot of experience writing ugly code 😉
49 replies
CC#
Created by MKM on 10/19/2024 in #help
C# Basic animation, cant get a circle to align between two lines
Hah! happy to help lol This is one of those things where you look at the same code so much you become blind to it lol
49 replies