Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>ruby-jsonNew to Visual Studio Code? Get it now.
ruby-json

ruby-json

Ada Apps

|
413 installs
| (0) | Free
Convert Ruby hash rocket to JSON
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ruby-json

Convert Ruby rocket hash to JSON.

{
  :topic => "heated_debate",
  :participants => 7,
  :owner => nil
}

Converts to:

{
  "topic": "heated_debate",
  "participants": 7,
  "owner": null
}

Usage

Select text and run ruby-json.convertToJson VS Code command. If the selection is empty, it will try to convert the entire document.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft