Registry / serialization / sax-machine

sax-machine

JSON →
library1.3.2rbrubygemsunverified

Declarative SAX parsing with Nokogiri, Ox, or Oga.

gem install sax-machine
INSTALL
IMPORT
SIG · SAX-MACHINE
S
sax-machine
serializationrubyv1.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SAXMachine
require 'sax-machine'

Parse XML using declarative SAX mapping.

require 'sax-machine' class Item include SAXMachine element :title element :description end xml = '<item><title>Hello</title><description>World</description></item>' item = Item.parse(xml) puts item.title # => Hello
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
sax-machine — gem install sax-machine · libregistry