Skip to content

tkawachi/hocon2json

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

hocon2json

A simple command to convert Typesafe config (including HOCON) to JSON. It prints JSON to stdout.

Usage: hocon2json [-p] srcFile [path]

Arguments

  • srcFile: Source Typesafe config file
  • path: Root path for generated JSON. When the source is {"a":{"b":{"c":1}}} and path is a.b, then JSON will be {"c":1}.

Options

  • -p: pretty print JSON

Installation

Use Conscript to install hocon2json.

cs tkawachi/hocon2json

About

A simple command to convert Typesafe config (including HOCON) to JSON.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages