cript" ]; then
> js-beautify --jslint-happy
> elif [ "$BB_DOC_LANGUAGE" == "JSON" ]; then
> python3 -m json.tool
> else
> echo "unknown language: $BB_DOC_LANGUAGE"
> fi
> ```
>
> On Wednesday, May 26, 2021 at 9:42:09 AM UTC-7 artgo..
n Wednesday, May 26, 2021 at 9:42:09 AM UTC-7 artgo...@gmail.com wrote:
> I'm looking for text filters to format JSON and XML. Google and
> https://www.barebones.com/search.html finds things that are not well
> documented or seem outdated.
>
> For macOS Big Sur and Python 3 please.
&g
On 26 May 2021, at 10:41, Arthur Goldberg wrote:
> I'm looking for text filters to format JSON and XML.
Text filters, like regex in BBEdit? Don't. Stop now and back away.
There are good tools for dealing with JSON files (jq is what I use) but there
are a lot of formats out there that LOOK l
On 27 May 2021, at 2:41, Arthur Goldberg wrote:
I'm looking for text filters to format JSON and XML. Google
and https://www.barebones.com/search.html finds things that are not
well documented or seem outdated.
BBEdit has built-in support for XML. There are lots of choices for JSON.
I use
For XML, there's Markup -> Tidy -> Reflow Document... (and its relatives ;-).
Regards
Patrick Woolsey
==
Bare Bones Software, Inc. <https://www.barebones.com/>
On 5/26/21 at 12:41 PM, artgoldb...@gmail.com (Arthur Goldberg) wrote:
> I'm looking for text filters
"xmllint.sh" like so:
```
#!/usr/bin/env sh
xmllint --format -
```
place the text filter in BBEdit's "Text Filters" folder and you should be
good to go.
HTH
Jean Jourdain
On Wednesday, May 26, 2021 at 6:42:09 PM UTC+2 artgo...@gmail.com wrote:
> I'm looking for
I'm looking for text filters to format JSON and XML. Google
and https://www.barebones.com/search.html finds things that are not well
documented or seem outdated.
For macOS Big Sur and Python 3 please.
Thanks
Arthur
--
This is the BBEdit Talk public discussion group. If you have a feature