没有合适的资源?快使用搜索试试~ 我知道了~
toml-rb:使用Citrus库的TOML解析器
共158个文件
toml:89个
json:39个
rb:17个
需积分: 5 0 下载量 90 浏览量
2021-05-25
18:29:16
上传
评论
收藏 62KB ZIP 举报
温馨提示
甲苯胺 使用库的解析器。 支持的TOML规格: 0.5.0 安装 $ gem install toml-rb 解析器用法 require 'toml-rb' # From a file! path = File . join ( File . dirname ( __FILE__ ) , 'path' , 'to' , 'file' ) TomlRB . load_file ( path ) # From a stream! stream = <<-EOS title = "wow!" [awesome] you = true others = false EOS TomlRB . parse ( stream ) # => {"title"=>"wow!", "awesome"=>{"you"=>true, "others"=>false}} # Y
资源推荐
资源详情
资源评论
收起资源包目录
toml-rb:使用Citrus库的TOML解析器 (158个子文件)
primitive.citrus 3KB
document.citrus 1KB
array.citrus 719B
helper.citrus 234B
.gems 34B
toml-rb.gemspec 648B
.gitignore 27B
string-escapes.json 717B
raw-string.json 412B
table-array-nest.json 383B
multiline-string.json 362B
arrays.json 245B
table-array-many.json 233B
raw-multiline-string.json 200B
implicit-and-explicit-before.json 130B
implicit-and-explicit-after.json 130B
table-array-whitespace.json 125B
table-whitespace.json 112B
implicit-groups.json 108B
string-with-pound.json 101B
example.json 101B
table-array-one.json 96B
table-array-implicit.json 88B
comments-everywhere.json 78B
long-integer.json 73B
long-float.json 69B
string-simple.json 54B
arrays-hetergeneous.json 50B
unicode-escape.json 49B
key-special-chars.json 49B
key-starts-with-number.json 43B
table-with-pound.json 42B
integer.json 39B
float.json 39B
bool.json 34B
arrays-nested.json 31B
array-empty.json 30B
table-sub-empty.json 25B
array-nospaces.json 24B
key-with-pound.json 22B
key-equals-nospace.json 21B
unicode-literal.json 21B
string-empty.json 21B
key-space.json 17B
table-empty.json 16B
empty.json 3B
LICENSE 1KB
README.md 3KB
Rakefile 106B
grammar_test.rb 11KB
toml_examples.rb 10KB
toml_test.rb 4KB
dumper_test.rb 3KB
toml-rb.rb 3KB
dumper.rb 3KB
errors_test.rb 3KB
keyvalue.rb 2KB
string.rb 1KB
table_array.rb 1KB
table.rb 1KB
parser.rb 1KB
datetime.rb 1012B
inline_table.rb 557B
errors.rb 350B
array.rb 160B
helper.rb 61B
example-v0.5.0.toml 9KB
example-v0.4.0.toml 5KB
hard_example.toml 1KB
example.toml 823B
string-escapes.toml 642B
table-array-implicit.toml 624B
comments-everywhere.toml 469B
multiline-string.toml 425B
arrays.toml 390B
raw-string.toml 373B
table-array-nest.toml 293B
inline-table-duplicate-key.toml 226B
raw-multiline-string.toml 195B
table-array-override-table-name.toml 190B
inline-table-duplicate-key2.toml 172B
table-array-many.toml 163B
string-with-pound.toml 113B
text-before-array-separator.toml 71B
text-after-array-entries.toml 70B
table-whitespace.toml 67B
table-array-whitespace.toml 67B
long-integer.toml 62B
string-bad-escape.toml 62B
table-array-one.toml 58B
long-float.toml 58B
text-in-array.toml 56B
example.toml 53B
array-mixed-types-arrays-and-ints.toml 53B
duplicate-key-table.toml 51B
string-simple.toml 47B
text-after-string.toml 44B
unicode-escape.toml 42B
key-special-chars.toml 42B
string-no-close.toml 42B
共 158 条
- 1
- 2
资源评论
泰国旅行
- 粉丝: 31
- 资源: 4773
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功