module SidekiqUniqueJobs::JSON
def load_json(string)
-
(Object)
-
Parameters:
-
string
(String
) -- the object to parse
def load_json(string) return unless string && !string.empty? ::JSON.parse(string) end
(Object)
-
string
(String
)
-- the object to parse
def load_json(string) return unless string && !string.empty? ::JSON.parse(string) end