title: Parsing json in iOS NULL
body: <p>trying to parse JSON from <a href="http://sec.kimonolabs.com/companies" rel="nofollow">http://sec.kimonolabs.com/companies</a> with the JSONModel framework but the problem is that values logged come out as null.</p>
  
  <p>I am trying to output the name and cik of some companies with the SEC API on a table view but currently there is no output because the values are null.</p>
  
  <p>The .m files for the below code are just default with no custom code.</p>
  
  <p>Any help appreciated!</p>
  
  <p>LoanModel.h</p>
  
  <pre><code>#import "JSONModel.h"
  //#import "LocationModel.h"
  
  @protocol LoanModel @end
  @interface LoanModel : JSONModel
  
  @property (strong, nonatomic) NSString* cik;
  @property (strong, nonatomic) NSString* display_name;
  @property (strong, nonatomic) NSString* name;
  //@property (strong, nonatomic) LocationModel* location;
  
  @end
  </code></pre>
  
  <p>KivaFeed.h</p>
  
  <pre><code>#import "JSONModel.h"
  #import "LoanModel.h"
  
  @interface KivaFeed : JSONModel
  
  @property (strong, nonatomic) NSArray&lt;LoanModel&gt;* company;
  
  @end
  </code></pre>
  
  <p>MasterViewController.h</p>
  
  <pre><code>#import "MasterViewController.h"
  #import "JSONModelLib.h"
  #import "KivaFeed.h"
  
  @interface MasterViewController () {
      KivaFeed* _feed;
  
  }
  @end
  
  @implementation MasterViewController
  
  -(void)viewDidAppear:(BOOL)animated
  {
      //show loader view
      //[HUD showUIBlockingIndicatorWithText:@"Fetching JSON"];
  
      //fetch the feed
      _feed = [[KivaFeed alloc] initFromURLWithString:@"http://sec.kimonolabs.com/companies" completion:^(JSONModel *model, JSONModelError *err) {
  
                                               //hide the loader view
                                               //[HUD hideUIBlockingIndicator];
  
                                               //json fetched
                                                NSLog(@"loans: %@", _feed.company);
                                               NSLog(@"loans: %@", _feed.company);
  
                                               //reload the table view
                                               [self.tableView reloadData];
  
  
  
                                           }];
  }
  
  #pragma mark - table methods
  -(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
  {
      return 1;
  }
  
  -(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
  {
      return _feed.company.count;
  }
  
  -(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      LoanModel* loan = _feed.company[indexPath.row];
  
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath];
      cell.textLabel.text = [NSString stringWithFormat:@"%@ and %@", loan.name, loan.cik];
      return cell;
  }
  
  @end
  </code></pre>