JavaScript
Article
By Sam Deering

Example Customer Form JSON File

By Sam Deering

This is an example of a Customer Form JSON file which you might see used to store configuration settings to setup your system. It might also be used to contain record information which can be easily shared across components using the simple JSON format.

Also: See more JSON examples.

--ADVERTISEMENT--

{
     "firstName": "John",
     "lastName": "Smith",
     "age": 25,
     "address":
     {
         "streetAddress": "21 2nd Street",
         "city": "New York",
         "state": "NY",
         "postalCode": "10021"
     },
     "phoneNumber":
     [
         {
           "type": "home",
           "number": "212 555-1234"
         },
         {
           "type": "fax",
           "number": "646 555-4567"
         }
     ]
 }
Recommended
Sponsors
The most important and interesting stories in tech. Straight to your inbox, daily. Get Versioning.
Login or Create Account to Comment
Login Create Account