New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

convert-serialization

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

convert-serialization

  • 1.0.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

convert-serialization

A simple Ruby script that can convert between different formats (msgpack / json / yaml / toml).

Usage

$ cat test.json 
{"hello":"world","numbers":[1,2,3,4,5]}
$ convert-serialization -s json -d toml -i test.json -o test.toml
Conversion successful!
$ cat test.toml 
hello = "world"
numbers = [ 1, 2, 3, 4, 5 ]
$ convert-serialization -s toml -d msgpack -i test.toml -o test.msgpack
Conversion successful!
$ hexdump -C test.msgpack 
00000000  82 a5 68 65 6c 6c 6f a5  77 6f 72 6c 64 a7 6e 75  |..hello.world.nu|
00000010  6d 62 65 72 73 95 01 02  03 04 05                 |mbers......|
0000001b

FAQs

Package last updated on 03 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc