Lines 7 and 8 above could be extracted to a method `items_from_json_content` like so:

```ruby
def self.import(starredjson_contents)
  skipped_feeds = []
  self.items_from_json_content(starredjson_contents).each do |item|
    # ...
  end
end

private

def self.items_from_json_content(json_content)
  JSON.parse(json_content, symbolize_names: true)[:items]
end
```