Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colon_rocket

puts a Ruby Hash to your shell as a valid JSON object (without hash rockets)

note: always returns nil


require 'colon_rocket'
ColonRocket.blastoff(hash, allow_overwrite)

Example

Conflicting Keys

  • default raises overlapping keys exception
  ColonRocket::OverlappingKeysException
  (Collision detected, identical key found as String and Symbol, example { a: "B", "a" => "NOT B" } 

About

colon rocket gem to puts Ruby hash as valid json

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages