Use json to get data from class members

Before marking it duplicate please understand my problem.
I have a class:

public class SampleModel {
    public string fname { get; set; }
}

I want to create a table and fill it with values that my objects hold. I have a json file:

{
   "displayname":"First Name",
   "codename":"fname"
}

Which contains two things, display name which I want to be the display name of the table heading. And 2nd is the codename which is the name I have used in my class to name my member. what I want to do is that the table heading should be taken from json "displayname" and the values under it should be filled using json's "codename".
Is there is a effective way of doing it?