malongshuai / malongshuai.github.io

2 stars 0 forks source link

Ruby处理YAML和json | 骏马金龙 #210

Open malongshuai opened 3 years ago

malongshuai commented 3 years ago

https://www.junmajinlong.com/ruby/ruby_yaml_json/

回到Ruby系列文章 Ruby处理YAMLRuby的标准库YAML基于Psych:https://ruby-doc.org/stdlib-2.6.2/libdoc/psych/rdoc/Psych.html 例如: 12345678require 'yaml'require 'set'p "hello world".to_yamlp 123.to_yamlp %w(perl shell

mdddj commented 2 years ago

厉害了