odapg Posted October 28 Share Posted October 28 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
vitor Posted October 28 Share Posted October 28 Yes, that’s expected. You’re copying the JSON configuration for an object that defines JSON configuration, so naturally that string has to be escaped. Copy from another object. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now