scalawilliam / xs4s   0.9.1

Website GitHub

XML Streaming for Scala including FS2/cats support

Scala versions: 3.x 2.13 2.12

XML Streaming for Scala (xs4s) Maven Central

Capabilities

  • Scala-friendly utilities around the javax.xml.stream.events API.
  • A mapping from the to scala.xml.Elem and related XML classes.
  • An alternative method of parsing XML to scala.xml.XML.load(), for example
assert(xs4s.XML.loadString("<test/>") == <test/>)
  • An integration with FS2 and ZIO for pure-FP streaming.
  • Large file streaming, such as multi-gigabyte XML files, for example GZIPped files straight from Wikipedia, without running out of memory.

Documentation

Find the full documentation at --> https://www.scalawilliam.com/xml-streaming-for-scala/

Authors & Contributors