Saturday, July 24, 2021

JSON Generator Script for "generated.json" used in Tim Corey's EF Video

 https://www.json-generator.com/



{
  Person :[
    '{{repeat(100)}}',
    {
    
      FirstName: '{{firstName()}}', 
      LastName: '{{surname()}}',
      Age: '{{integer(25, 55)}}', 
      Addresses : [
        '{{repeat(2)}}',
        {
StreetAddress: '{{integer(100, 999)}} {{street()}}, {{city()}}, {{state()}}, {{integer(100, 10000)}}',
City : '{{city()}}',
State: '{{state()}}',
          ZipCode: '{{integer(10000, 99999)}}-{{integer(1000,9999)}}'
        }
], 
      EmailAddresses : [
       
        {
        EmailAddress: '{{email()}}'
        }
      ]
    }
    ]
}

No comments:

Post a Comment

How to check local and global angular versions

 Use the command ng version (or ng v ) to find the version of Angular CLI in the current folder. Run it outside of the Angular project, to f...