5 releases

0.1.4 Feb 21, 2024
0.1.3 Feb 20, 2024
0.1.2 Feb 20, 2024
0.1.1 Feb 18, 2024
0.1.0 Feb 17, 2024

#590 in Parser implementations

MIT and GPL-3.0 licenses

110KB
2.5K SLoC

             ___  ________ ________     
            |\  \|\  _____\\   ____\    
            \ \  \ \  \__/\ \  \___|    
          __ \ \  \ \   __\\ \  \       
         |\  \\_\  \ \  \_| \ \  \____  
         \ \________\ \__\   \ \_______\
          \|________|\|__|    \|_______|

JSON Formatting CLI (JFC) is a CLI tool written in Rust for working with malformed JSON. It does its best to transform whatever text you input on standard in into valid JSON without dropping any meaningful characters from the input. Any errors found along the way are emitted to standard error. In raw mode, no characters from the input are (or at least should be) dropped.

Installation

To install JFC:

  1. Install the rust toolchain following the directions on doc.rust-land.org to install cargo.
  2. Run cargo install jfc
  3. You can find the executable in the ~/.cargo/bin folder

Usage

For usage, see the help (-h or --help menu).

Dependencies

~1MB
~16K SLoC