No contents contain match in .json file?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

No contents contain match in .json file? Thu Jul 21, 2022 1:45 pm • by marcia_h
Any suggestions to get Contents contain match to work on a .json file? It seems to be just plain text, TextEdit opens it just fine.

Date Added is after Date Last Matched
Full Name contains config.json
Contents contain match Homebridge

I also tried Contents contain.

It matches if I rename the file and the Full Name rule to config.txt.

Hazel 5.1.
marcia_h
 
Posts: 2
Joined: Thu Sep 27, 2018 4:34 pm

You may need to find an app that can open .json files. At least one app that handles json must provide a definition that categorizes the file as a text file.

Also, unrelated but I'd recommend updating to the latest version (5.1.4). The in-app updater may not work so you will have to download and install the update manually.
Mr_Noodle
Site Admin
 
Posts: 11236
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: No contents contain match in .json file? Sun Jul 24, 2022 12:30 am • by marcia_h
I defined TextEdit as the default application for .json files. It's working now, thank you!

Thanks for the tip on updating manually.
marcia_h
 
Posts: 2
Joined: Thu Sep 27, 2018 4:34 pm


Return to Support