How can I plug the number from my json file into this int?

How can I get an int to be taken from this JSON file that I have? How can I define it before I put in the file reading command so that it compiles?

Here is where I am trying to run the command:

public void AddTestEntry()
        {
            AddEntry(new ScoreboardEntryData()
            {
                entryName = File.ReadAllText(Application.dataPath + "/NewName.json"),
              
                entryScore = ScoreJSON.Amount;
            });

which of course this does not compile where I am trying to tell the int to equal the number from this JSON file.

Here is my system.serializable json cs script:

[System.Serializable]

public class ScoreJSON

{
    public string Amount;
  
}

Then don’t save it as a string. Save Amount as an integer. You should never save a value that you care about as a string.

So this successfully got rid of the brackets and logs the name into the testentryName place, but I am still lost on how to implement something like this with an int.

[ContextMenu("Add Test Entry")]
        public void AddTestEntry()
        {

            string json = File.ReadAllText(Application.dataPath + "/NewName.json");
            NameJSON Name = JsonUtility.FromJson<NameJSON>(json);
            string testEntryName = Name.name;
           
           
            AddEntry(new ScoreboardEntryData()
           
            {
               
                entryName = testEntryName,
                entryScore = testEntryScore
            });
        }

And what does this mean???

Yeah, that did it! I got it in the bag! Thanks alot!

They show up delayed from when I post.