All Projects → caarlos0 → jsonfmt

caarlos0 / jsonfmt

Licence: MIT license
Like gofmt, but for JSON files.

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to jsonfmt

fixjson
JSON Fixer for Humans using (relaxed) JSON5
Stars: ✭ 96 (+37.14%)
Mutual labels:  formatter
vscode-qiniu-upload-image
一个VS Code插件,写Markdown时可以快捷上传本地图片获取七牛图床外链。
Stars: ✭ 87 (+24.29%)
Mutual labels:  formatter
ByteSizeLibPascal
TByteSize is a utility record that makes byte size representation in code easier by removing ambiguity of the value being represented.
Stars: ✭ 24 (-65.71%)
Mutual labels:  formatter
palantir-java-format
A modern, lambda-friendly, 120 character Java formatter.
Stars: ✭ 203 (+190%)
Mutual labels:  formatter
ISO8601
🎗 Super lightweight ISO8601 Date Formatter in Swift
Stars: ✭ 20 (-71.43%)
Mutual labels:  formatter
uck
숫자 -> 한글 단위 변환 모듈
Stars: ✭ 27 (-61.43%)
Mutual labels:  formatter
idea-uroborosql-formatter
Beautiful SQL Formatter for IntelliJ Platform
Stars: ✭ 18 (-74.29%)
Mutual labels:  formatter
go-qmk-keymap
This is a utility that can format your keymap array of layers as well as generating ascii-art diagrams of those layouts.
Stars: ✭ 20 (-71.43%)
Mutual labels:  formatter
awesome-python-code-formatters
A curated list of awesome Python code formatters
Stars: ✭ 168 (+140%)
Mutual labels:  formatter
winston-dev-console
Winston@3 console format aimed to improve development UX
Stars: ✭ 88 (+25.71%)
Mutual labels:  formatter
lit-date
Light-weight, faster datetime formatter for modern browsers.
Stars: ✭ 33 (-52.86%)
Mutual labels:  formatter
rust-phonenumber
Library for parsing, formatting and validating international phone numbers.
Stars: ✭ 99 (+41.43%)
Mutual labels:  formatter
TcBlack
Opnionated code formatter for TwinCAT.
Stars: ✭ 67 (-4.29%)
Mutual labels:  formatter
TypeNameFormatter
A small .NET library for formatting type names à la C#.
Stars: ✭ 26 (-62.86%)
Mutual labels:  formatter
format-imports-vscode
Format imports and exports for JavaScript and TypeScript in VS Code.
Stars: ✭ 60 (-14.29%)
Mutual labels:  formatter
blackbricks
Black for Databricks notebooks
Stars: ✭ 40 (-42.86%)
Mutual labels:  formatter
dart-more
More Dart — Literally.
Stars: ✭ 81 (+15.71%)
Mutual labels:  formatter
plugin-pug
Prettier Pug Plugin
Stars: ✭ 163 (+132.86%)
Mutual labels:  formatter
address-format
A PHP library to parse street addresses to localized formats
Stars: ✭ 76 (+8.57%)
Mutual labels:  formatter
json-lua
JSON encoder/decoder
Stars: ✭ 47 (-32.86%)
Mutual labels:  formatter

jsonfmt

Like gofmt, but for JSON files.

Usage: jsonfmt or jsonfmt -w to autofix the issues.

Install

homebrew:

brew install caarlos0/tap/jsonfmt

docker:

docker run -v $PWD:/data --workdir /data caarlos0/jsonfmt -h

apt:

echo 'deb [trusted=yes] https://repo.caarlos0.dev/apt/ /' | sudo tee /etc/apt/sources.list.d/caarlos0.list
sudo apt update
sudo apt install jsonfmt

yum:

echo '[caarlos0]
name=caarlos0
baseurl=https://repo.caarlos0.dev/yum/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/caarlos0.repo
sudo yum install jsonfmt

deb/rpm:

Download the .deb or .rpm from the releases page and install with dpkg -i and rpm -i respectively.

manually:

Download the pre-compiled binaries from the releases page or clone the repo build from source.

Stargazers over time

Stargazers over time

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].