0.1.0 • Published 5 years ago
splunkkeyvalue v0.1.0
splunkkeyvalue
Convert json to keyvalue pair key=value for first level json. It will only convert first level nested. It will not print out array objects.
Installation
npm install splunkkeyvalue --save
Usage
var splunkkeyvalue = require('splunkkeyvalue');
var json = {
id: 123456,
name: "frank",
last: "smith"
};
var string = splunkkeyvalue.jsonToSplunk("",json);
console.log(string);
Tests
npm test
Contributing
Very simple script.
Release History
- 0.2.0 Initial release
0.1.0
5 years ago