Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/songmu/app-kv2json
https://github.com/songmu/app-kv2json
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/songmu/app-kv2json
- Owner: Songmu
- License: other
- Created: 2014-11-06T11:25:12.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-03T02:19:24.000Z (almost 9 years ago)
- Last Synced: 2024-11-06T01:02:39.295Z (2 months ago)
- Language: Perl
- Size: 57.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
# NAME
kv2json - command line utility for building json
# SYNOPSIS
% kv2json var=baz blah=blah
{"blah":"blah","var":"baz"}# array
% kv2json fruits[]=apple,orange
{"fruits":["apple","orange"]}# complicated structure
% kv2json alice[age]=18 alice[gender]=female
{"alice":{"gender":"female","age":"18"}}# numerify the value
% kv2json age#=18
{"age":18}# DESCRIPTION
kv2json is command line utility for building json.
# INSTALLATION
% cpanm App::KV2JSON
or you can get single packed executable file.
% curl -L https://raw.githubusercontent.com/Songmu/App-KV2JSON/master/kv2json > /usr/local/bin/kv2json; chmod +x /usr/local/bin/kv2json
# LICENSE
Copyright (C) Songmu.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.# AUTHOR
Songmu