How to Convert CSV to JSON with Ruby Script

Ruby Script to Convert CSV to JSON: From the below post i will explain How to convert CSV to JSON with Ruby Script: #!/usr/bin/env ruby require 'nexpose' require 'csv' require 'json' require 'open-uri' require 'fileutils' require 'zlib' include Nexpose #Logging into Nexpose. #Provide the IP/Hostaname, Username and Password of the Nexpose Console puts('Logging into Nexpose') nsc = Nexpose::Connection.new('localhost',...

Working with Nexpose GEM – Guide

In my previous blog post i have explained about Nexpose GEM Installation with Ruby API. - Click to Read the blog post Below I am explaining here its working with Nexpose GEM In your terminal type irb to launch Ruby interpreter Enter the following lines to...