I have a simple Json string
{
"property1": "value1",
"property2": "value1"
}
that I parse to a JsonObject using the System.Text.Json.Nodes namespace with the following line
JsonObject obj = JsonNode.Parse(requestBody).AsObject();
How can I get the properties names (property1 and property2) of the JsonObject?
If there are alternatives, It would help me