module TaskwarriorWeb::Parser::Json
Public Class Methods
parse(json)
click to toggle source
# File lib/taskwarrior-web/services/parser/json.rb, line 4 def self.parse(json) json.strip! json == '[No matches.]' ? [] : ::JSON.parse(json) end