目录
目录README.md

Brett XML

Language Build Status codecov GitHub license

A pure Swift XML parser that’s compatible with Vapor’s node data structure.

Integration

Update your Package.swift file.

.Package(url: "https://github.com/BrettRToomey/brett-xml.git", majorVersion: 1)

Getting started 🚀

BML is easy to use, just pass it a String or an array of Bytes.

import BML
let node = try XMLParser.parse("<book id=\"5\"></book>")
print(node["book"]?["id"]?.value) // prints Optional("5")
关于
68.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号