How to check if string is JSON object in i3 Pro?
if you can parse string with JSON parse then can know string is JSON..
otherwise it can be simple normal Text.
you can use Regular expression as Pivovarov mentioned. I did not tried it but it should work.
Customer support service by UserEcho