0
Answered

How to check if string is JSON object in i3 Pro?

TuomoHautala 7 years ago in Other updated by Aleksandr Romanov (CTO) 7 years ago 4

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.