0
Beantwoord

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

TuomoHautala 7 jaar geleden in Other bijgewerkt door Aleksandr Romanov (CTO) 7 jaar geleden 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.