Skip to content

Export filters as JSON#2476

Open
sudeeptarlekar wants to merge 1 commit intoesrlabs:masterfrom
sudeeptarlekar:2475/export_beautify_json
Open

Export filters as JSON#2476
sudeeptarlekar wants to merge 1 commit intoesrlabs:masterfrom
sudeeptarlekar:2475/export_beautify_json

Conversation

@sudeeptarlekar
Copy link
Member

Filters are exported as a String which add too many escape characters. This commit changes the exported filter to JSON.
The Content field from the exported json is still string and still includes the escape characters. Exporting JSON needs lot of changes and can be tackled in separate PR.

Fixes: #2475

Filters are exported as a String which add too many escape characters.
This commit changes the exported filter to JSON.
The Content field from the exported json is still string and still
includes the escape characters. Exporting JSON needs lot of changes
and can be tackled in separate PR.

Fixes: esrlabs#2475
Copy link
Member

@AmmarAbouZor AmmarAbouZor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't work. I've tested the function export all to file in the context menu for the filters. Then I've tested the output with cat and the escape characters are still there.

Also, I would try to make the changes as small as possible and make them only in the export function to avoid any unnecessary changes on the main branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filter export

2 participants