Skip to content

About

json2groovy - convert JSON to the Groovy native format

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

41 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json2groovy

Converts JSON to the Groovy native format for data structures.

{ "foo" : "bar" } -> [ foo : 'bar' ]

Useful for pasting into an IDE or creating test data or whatever.

Usage

You must use gradle 2.1 or above.

To build:

gradle shadowJar

To run (reading from stdin):

java -jar build/libs/json2groovy-all.jar

Type/paste in some JSON and hit CTRL+D

For further usage, reading from a file etc. try:

java -jar build/libs/json2groovy-all.jar -h

About

json2groovy - convert JSON to the Groovy native format

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages