class String

Public Instance Methods

is_json?() click to toggle source
# File lib/crumbl/base.rb, line 50
def is_json?
  !!JSON.parse(self) rescue false
end