Sha256: 003e26c91adb0c42e89a7f17f3b6a38a93a06c90bd2e7fec72a418c237ca4d08

Contents?: true

Size: 155 Bytes

Versions: 1

Compression:

Stored size: 155 Bytes

Contents

require 'json'

module TaskwarriorWeb::Parser::Json
  def self.parse(json)
    json.strip!
    json == '[No matches.]' ? [] : ::JSON.parse(json)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
taskwarrior-web-1.1.12 lib/taskwarrior-web/services/parser/json.rb