1
0
mirror of https://github.com/dkhamsing/open-source-ios-apps.git synced 2024-12-27 00:42:43 +01:00
App-Open-Source-per-iPhone-.../.github/category_list.rb
2016-05-12 07:17:49 -07:00

10 lines
141 B
Ruby

require 'json'
c = File.read 'contents.json'
j = JSON.parse c
c = j['categories']
c.sort_by { |h| h['title']}
.each { |x| puts x['id']}