/json-that

CLI dev tool to transfrom any raw text into JSON

Primary LanguageHTMLMIT LicenseMIT

json that

pip install jsonthat
jt --setup
echo 'my name is jay' | jt
{
  "name": "Jay"
}

Features

  • Structure output with a schema
  • Pipe content directly
  • Support for multiple LLM providers: OpenAI, Claude, Mistral, Ollama
  • Local LLM support with Ollama
  • CLI available as a pip package
  • Stream output
  • Select different model names from API providers

Coming Soon

  • Partial JSON output
  • Handling of long content
  • Advanced documentation
  • More providers (e.g., Gemini)
  • --line flag to transform each line of input
  • --usage flag to show usage with token count
  • Python library