79173377

Date: 2024-11-09 17:58:15
Score: 0.5
Natty:
Report link

Update for .Net 8 You can deserialize automatically to custom types without using JsonSerializer or similar. My custom type here is corpus_g. My Json is corpora: [{corpus_g object}]

return _configuration
.GetSection("gemini_api")
.GetSection("corpora")
.Get<corpus_g[]>().FirstOrDefault();//
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: heyyy