I was looking for a method that return boolean value if the object is json string.
I think there is no support for this idea on activesupport/lib/active_support/core_ext/string .
Here is my proposal to include this feature.
An object is json string if it’s parseable by JSON.parse.
return true if it’s parseable.
return false if it is not parseable.