8000 GitHub - stevepentler/colon_rocket: colon rocket gem to puts Ruby hash as valid json
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

stevepentler/colon_rocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0