hocon2json


License

License

MIT
Categories

Categories

JSON Data
GroupId

GroupId

com.github.tkawachi
ArtifactId

ArtifactId

hocon2json_2.10
Last Version

Last Version

0.1.4
Release Date

Release Date

Type

Type

jar
Description

Description

hocon2json
hocon2json
Project URL

Project URL

https://github.com/tkawachi/hocon2json/
Project Organization

Project Organization

com.github.tkawachi
Source Code Management

Source Code Management

https://github.com/tkawachi/hocon2json/

Download hocon2json_2.10

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.tkawachi/hocon2json_2.10/ -->
<dependency>
    <groupId>com.github.tkawachi</groupId>
    <artifactId>hocon2json_2.10</artifactId>
    <version>0.1.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.tkawachi/hocon2json_2.10/
implementation 'com.github.tkawachi:hocon2json_2.10:0.1.4'
// https://jarcasting.com/artifacts/com.github.tkawachi/hocon2json_2.10/
implementation ("com.github.tkawachi:hocon2json_2.10:0.1.4")
'com.github.tkawachi:hocon2json_2.10:jar:0.1.4'
<dependency org="com.github.tkawachi" name="hocon2json_2.10" rev="0.1.4">
  <artifact name="hocon2json_2.10" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.tkawachi', module='hocon2json_2.10', version='0.1.4')
)
libraryDependencies += "com.github.tkawachi" % "hocon2json_2.10" % "0.1.4"
[com.github.tkawachi/hocon2json_2.10 "0.1.4"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.10.4
com.typesafe : config jar 1.2.1

provided (1)

Group / Artifact Type Version
org.scala-sbt : launcher-interface jar 0.13.5

Project Modules

There are no modules declared in this project.

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

Versions

Version
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0