Jump to content

Escaped JSON configuration?


Recommended Posts

Hi,

I am trying to learn to use Alfred's JSON Utility object. When I right-click on it to copy the configuration, I obtain many escaped characters:

 

{
  "alfredworkflow" : {
    "config" : {
      "json" : "{\n  \"alfredworkflow\" : {\n    \"config\" : {\n      \"scopes\" : [\n        \"{query}\"\n      ]\n    },\n    \"variables\" : {\n      \"folder\": \"{query}\"\n    }\n  }\n}"
    }
  }
}

 

(This example above comes from the "Dynamic File search" workflow.)

Is it an expected behavior? I seem to recall that it was not what I obtained when I first tried, but I may be wrong.

Thanks.

(Alfred 5.5.1, Sonoma 14.7)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...