0
Answered

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

TuomoHautala 5 months ago in Other • updated by Aleksandr Romanov (CTO) 5 months 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.