Skip to content

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

Notifications You must be signed in to change notification settings

tkawachi/hocon2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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