cleaner solution
trying to check if is a json in a way where there is no need to call the function as before as that function is not working on my project for some reason.
trying to check if is a json in a way where there is no need to call the function as before as that function is not working on my project for some reason.