I want to validate if a given value is a valid json or not but it's not working for numeric values. Please suggest a way to validate it properly.
isjsonvalid(1234)
isjsonvalid("123")
Both of the above statements are returning true even though they are not json.
Discussion posts and replies are publicly visible