All Projects → mmalcek → bafi

mmalcek / bafi

Licence: MIT license
Universal JSON, BSON, YAML, CSV, XML converter with templates

Programming Languages

go
31211 projects - #10 most used programming language
lua
6591 projects

Projects that are alternatives of or similar to bafi

Gelatin
Transform text files to XML, JSON, or YAML
Stars: ✭ 150 (+130.77%)
Mutual labels:  yaml, converter, convert
K2tf
Kubernetes YAML to Terraform HCL converter
Stars: ✭ 477 (+633.85%)
Mutual labels:  yaml, converter
Remarshal
Convert between CBOR, JSON, MessagePack, TOML, and YAML
Stars: ✭ 421 (+547.69%)
Mutual labels:  yaml, converter
Prettier
Prettier is an opinionated code formatter.
Stars: ✭ 41,411 (+63609.23%)
Mutual labels:  yaml, formatter
crimson
Bioinformatics tool outputs converter to JSON or YAML
Stars: ✭ 30 (-53.85%)
Mutual labels:  yaml, converter
Swaggen
OpenAPI/Swagger 3.0 Parser and Swift code generator
Stars: ✭ 385 (+492.31%)
Mutual labels:  yaml, formatter
Perun
A command-line validation tool for AWS Cloud Formation that allows to conquer the cloud faster!
Stars: ✭ 82 (+26.15%)
Mutual labels:  yaml, converter
Cube2sphere
Python script to map 6 cube (cubemap, skybox) faces into an equirectangular (cylindrical projection, skysphere) map.
Stars: ✭ 120 (+84.62%)
Mutual labels:  converter, convert
Tfk8s
A tool for converting Kubernetes YAML manifests to Terraform HCL
Stars: ✭ 167 (+156.92%)
Mutual labels:  yaml, converter
Swagger Toolbox
💡 Swagger schema model (in yaml, json) generator from json data
Stars: ✭ 194 (+198.46%)
Mutual labels:  yaml, converter
yamlfmt
A simple opionated yaml formatter that keeps your comments!
Stars: ✭ 27 (-58.46%)
Mutual labels:  yaml, formatter
json2codable
A command line tool to generate a Swift Codable struct from a JSON document
Stars: ✭ 19 (-70.77%)
Mutual labels:  converter, convert
transfer
Converts from one encoding to another. Supported formats HCL ⇄ JSON ⇄ YAML⇄TOML⇄XML⇄plist⇄pickle⇄properties ...
Stars: ✭ 70 (+7.69%)
Mutual labels:  yaml, bson
Latexindent.pl
Perl script to add indentation (leading horizontal space) to LaTeX files. It can modify line breaks before, during and after code blocks; it can perform text wrapping and paragraph line break removal. It can also perform string-based and regex-based substitutions/replacements. The script is customisable through its YAML interface.
Stars: ✭ 415 (+538.46%)
Mutual labels:  yaml, formatter
Gitconverter
Синхронизация хранилища конфигурации "1С:Предприятия" с репозиторием Git и последующим переходом на разработку в 1C:Enterprise Development Tools (1C:EDT) с сохранением истории
Stars: ✭ 149 (+129.23%)
Mutual labels:  converter, convert
Jsonj
A fluent Java API for manipulating json data structures
Stars: ✭ 42 (-35.38%)
Mutual labels:  yaml, bson
Youtube Channel Name Converter
A Youtube Channel Name to ID Converter
Stars: ✭ 75 (+15.38%)
Mutual labels:  converter, convert
Wx Voice
Convert audio files between Tencent apps (Weixin / Wechat, QQ) and Silk codec with other general formats such as MP3 and M4A
Stars: ✭ 93 (+43.08%)
Mutual labels:  converter, convert
Pretty Yaml
PyYAML-based module to produce pretty and readable YAML-serialized data
Stars: ✭ 110 (+69.23%)
Mutual labels:  yaml, formatter
undatum
undatum: a command-line tool for data processing. Brings CSV simplicity to JSON lines and BSON
Stars: ✭ 39 (-40%)
Mutual labels:  convert, bson

Go CodeQL Go Report Card GoCover License Mentioned in Awesome Go GitHub tag (latest by date)

Universal JSON, BSON, YAML, CSV, XML translator to ANY format using templates

Key features

  • Various input formats (json, bson, yaml, csv, xml)
  • Flexible output formatting using text templates
  • Support for Lua custom functions which allows very flexible data manipulation
  • stdin/stdout support which allows get data from source -> translate -> delivery to destination. This allows easily translate data between different web services like REST to SOAP, SOAP to REST, REST to CSV, ...
  • Merge multiple input files in various formats into single output file formated using template

Documentation https://mmalcek.github.io/bafi/

Releases (Windows, MAC, Linux) https://github.com/mmalcek/bafi/releases

usage:

bafi.exe -i testdata.xml -t template.tmpl -o output.txt

or

curl.exe -s https://api.predic8.de/shop/customers/ | bafi.exe -f json -t "?{{toXML .}}"

More examples and description in documentation

If you like this app you can buy me a coffe ;)

Buy Me a Coffee at ko-fi.com
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].