A Clojure library for parsing Type System
.
It is a data format used by dbusctl
responses.
The library can be used by clojure or java code.
(require '[rhsm.dbus :as dbus])
(let [[values rest] (dbus/parse "a{sv} 2 \"first\" i 10 \"second\" b false")]
(is (= "" rest))
(is (= {"first" 10
"second" false} values)))
You can see examples of usage in the project's unittests.
Copyright © 2017 Entitlement QE team @ Red Hat
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
Can you improve this documentation? These fine people already did:
Jan Stavěl @ RedHat & Jan StavelEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close