private int GetValue(JsonFields fields, string key) { if (fields[key].Value is JValue value) { return((int)(long)value.Value); } return(0); }
public JsonObject() { Fields = new JsonFields(this); }