Tool to convert HOCON into valid JSON or YAML written in Rust

hoconvert [input] [--yaml]

hoconvert

Tool to convert HOCON into valid JSON or YAML written in Rust.

Usage

``

Either provide the hocon as first argument:

hoconvert "foo = bar"

or provide it from stdin,

echo "foo = bar" | hoconvert which leads to the following output:

{
  "foo": "bar"
}

Example of a real-life problem:

kubectl get cm <any ConfigMap> -o jsonpath='{.data.myHocon} | jq -r | hoconvert

Versions

Find the latest versions by id

v0.1.2 - Oct 29, 2021

What's changed:

  • added install instructions
  • preparation for publishing on crates.io

Download hoconvert for the common platforms:

  • macOS amd64 (checksum sha256 "324afcaed854e57eddfd74204737ec4ffa793a2c336b2d418e352bb65a93c374")
  • macOS arm64 (checksum sha256 "fb39ecf4a08818faa9a00485e2195c3f29e7f10ecd71443bf80c82fa24dea4ad")
  • Linux amd64 (checksum sha256 "7c4269fe513e3b6cdfb42fc64e79afb363283b3e4123ea241b11614fe39a5f38")

v0.1.1 - Oct 28, 2021

  • unit tests and feature tests added [#1]
  • no change in functionality

Provided for download as binary:

  • hoconvert for macOS
  • hoconvert_deb for Linux

v0.1.0 - Oct 23, 2021

  • initial release
  • basic functionality: convert HOCON to JSON or YAML

Provided for download as binary:

  • hoconvert for macOS
  • hoconvert_deb for Linux

Information - Updated Jan 20, 2022

Stars: 15
Forks: 1
Issues: 0

Serde is a framework for serializing and deserializing Rust data structures efficiently and generically

Rust Greatest JSON weapon is Serde with over 4.4K stars on github and a massive developer community. This is considered a core Rust library for every developer to learn in BRC's opinion

Serde is a framework for serializing and deserializing Rust data structures efficiently and generically

Rust 버전 JsonPath 구현으로 Webassembly와 Javascript에서도 유사한 API 인터페이스를 제공 한다

JsonPath 구현으로 Webassembly와 Javascript에서도 유사한 API 인터페이스를 제공 한다

Rust 버전 JsonPath 구현으로 Webassembly와 Javascript에서도 유사한 API 인터페이스를 제공 한다

SIMD JSON for Rust  

Rust port of extremely fast serde compatibility

SIMD JSON for Rust  

JSON-E Rust data-struct paramter crate for lightweight embedded content with objects and much more

What makes JSON-e unique is that it extensive documentation and ease of use

JSON-E Rust data-struct paramter crate for lightweight embedded content with objects and much more
JSON

111

A Rust JSON5 serializer and deserializer which speaks Serde

Deserialize a JSON5 string with from_str

A Rust JSON5 serializer and deserializer which speaks Serde

Rust JSON Parser Benchmark

Download and Generate JSON Data

Rust JSON Parser Benchmark

Read JSON values quickly - Rust JSON Parser

AJSON get json value with specified path, such as project

Read JSON values quickly - Rust JSON Parser

Command line json text parsing and processing utility

parsing json compliant with rust and cargo

Command line json text parsing and processing utility

Rust actix json request example

Send a json request to actix, and parse it

Rust actix json request example

Why yet another JSON package in Rust ?

======================================

Why yet another JSON package in Rust ?
JSON

140

json_typegen - Rust types from JSON samples

json_typegen is a collection of tools for generating types from

json_typegen - Rust types from JSON samples

Rust JSON parsing benchmarks

This project aims to provide benchmarks to show how various JSON-parsing libraries in the Rust programming language perform at various JSON-parsing tasks

Rust JSON parsing benchmarks
Facebook Instagram Twitter GitHub Dribbble
Privacy