i have a question just take an example i have a model class as Symbol and i had given a JsonPorpertyName as s and it should be show s="yash" like this when we fetch json data but i have a porblem in my project in many places i had used this model but not used JsonSerialiazer.serliaze and deserialize and without using serialize and deserialize its not fetching s="yash" instead of this it is taking the propertyname Symbol, so is there any way to solve this and i need to make this globally means i can use this in any project
@BaseerSiddiqui-baseerhere10 ай бұрын
How can i ignore fields for serialization at the runtime? I wish to get the field names as an argument to my method and serialize only thoss. Something like GraphQL
@canergurelsoy6875 Жыл бұрын
good one. but I've a question; how about in my model-class I have a property of type IFormFile and I want to avoid serialization on it but I need the property value.?
@Mig440 Жыл бұрын
Are you reading or writing to json?
@canergurelsoy6875 Жыл бұрын
@@Mig440 reading and trying to process. I've a frontend app sending a json data to my API.
@Mig440 Жыл бұрын
I suppose since you are talking about apis and json payloads that the iformfile is part of a form on the frontend where the user can upload a file to your backend service. Normally files are sent as octet streams of bytes to the server and not as part of a json payload. Is this the case for your issue?
@noopd13 Жыл бұрын
If you need a property that will never be serialized. but you want to include this property to be deserialized, can we do this with System.Text.json
@MatheusLopesBrito Жыл бұрын
How I can do that?? I have been trying to fix my code bugs for 4 hours ago (It's not a joke man kkkkk), so please help me......
@katogangstad7 ай бұрын
Expected more.. 9 videos. And you are only covering static stuff. Attributing and not dynamic like converters made in code. And please drop the humor.