1
0
mirror of https://github.com/dkhamsing/open-source-ios-apps.git synced 2024-12-23 06:48:33 +01:00
App-Open-Source-per-iPhone-.../.github/category_list.rb

10 lines
141 B
Ruby
Raw Normal View History

2016-05-12 16:17:26 +02:00
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']}