Sha256: 7c7a74cff12b3d65310b8d4f0622c8b650cadf4f2c0eb033fb95609667d1a9b2
Contents?: true
Size: 183 Bytes
Versions: 20
Compression:
Stored size: 183 Bytes
Contents
require 'json' module TaskwarriorWeb::Parser::Json def self.parse(json) json.strip! json = '[' + json + ']' json == '[No matches.]' ? [] : ::JSON.parse(json) end end
Version data entries
20 entries across 20 versions & 1 rubygems