title: Replace ID from json entity with random number without creating entity class
body: <p>I have testdata.json with object like this:</p>
  <pre><code> &quot;Entity&quot;: {
      &quot;ID&quot;: &quot;1&quot;,
      &quot;name&quot;: &quot;some name&quot;,
      &quot;City&quot;: &quot;some city&quot;,
      &quot;address&quot;: &quot;some address&quot;
    }
  </code></pre>
  <p>Here are my 2 methods for withdrawing and deserializing this entity:</p>
  <pre><code>public static string ReadSettings(string name)
          {
              var parts = name.Split('.', StringSplitOptions.RemoveEmptyEntries);
  
              JObject jObj = GetObject();
              foreach (var part in parts)
              {
                  var token = jObj[part];
                  if (token == null)
                  {
                      return null;
                  }
                  else
                  {
                      return token.ToString();
                  }
              }
  
              return null;
          }
  
  
          private static JObject GetObject()
          {
              if (_jObject != null)
              {
                  return _jObject;
              }
  
              var filename = Path.Combine(
                  Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)!,
                  &quot;testdata.json&quot;);
              var json = File.ReadAllText(filename);
  
              _jObject = JObject.Parse(json);
  
              return _jObject;
          }
  </code></pre>
  <p>My question is next: is there any way I can replace Entity.ID with random number (I need this in tests, where I create new Entity - every time test runs - there should be new Entity with new unique ID)?
  p.s. I'm just learning C# so don't judge me hardly if it's simple question =)</p>