Help with creating plugin

Help with creating plugin

I want to create a plugin where json data is a parameter and then use this data to populate the elements inside a div. Something like $('person').fill(jsonData);

 
<div id="person">
  <asp:TextBox ID="tbCompany" CssClass="company" runat="server"></asp:TextBox>
  <asp:TextBox ID="tbAddress1" CssClass="address1" runat="server"></asp:TextBox>
</div>


json data
       
        {"d":{"__type":       
        "Address1":"123 sesame street",
        "Address2":"Ste #123",
        "City":"SF",
        "Company":"ABC Company",
        "ContactType":"person",
        "Name":"Doe, John",
        "Phone":"(555) 555-5555",
        "State":"CA",
        "ZipCode":"11111"}
        }       
       


I was thinking of matching the css class of the input to the json data field name but not sure how to do this. This is my first attempt at creating a plugin so any and all help is truly appreciated!