sudheer kumar

sudheer kumar

  • NA
  • 25
  • 1.9k

Reading and writing to Json

Jul 28 2020 1:37 AM
I have the following Json.
In the Json i want to read connectString and MetadataUrl in my C# app and write those values back to json with some other text.
{
"DBConnection": {
"connections": [
{
"connectString": "Server=(localdb)\\MSSQLLOCALDB;Initial Catalog=Test;",
"Region": "India",
}
],
},"Myapp": {
"RequestTimeoutAfterXHours": 24,
"TestIdSettings": [
{
"MetadataUrl": "http://localhost/Myapp/.well-known",
"Audience": "http://testurl.com"
}
]
},
"AllowedHosts": "*"
}

Answers (2)