MCPcopy Index your code
hub / github.com/beckchr/staxon

github.com/beckchr/staxon @staxon-parent-1.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release staxon-parent-1.3 ↗ · + Follow
1,371 symbols 6,137 edges 126 files 223 documented · 16% updated 4y ago★ 11012 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

StAXON - JSON via StAX

StAXON lets you read and write JSON using the Java Streaming API for XML (javax.xml.stream). StAXON acts as a door opener for JSON to powerful XML related technologies like

  • XSL transformations (XSLT)
  • XML binding API (JAXB)
  • XML Schema Definition (XSD)
  • XPath, XQuery, ...

Features

  • Support for JAXB and JAX-RS
  • Trigger JSON arrays via XML processing instruction
  • Full XML namespace support
  • Support the JSON Processing API (JSR-353), Jackson and Gson as JSON streaming backends
  • Memory efficient, even for very large documents
  • It's pretty fast (benchmark)...

Documentation

Check the Getting Started guide first. More documentation is available from the StAXON Wiki.

Downloads

The Downloads page provides Maven instructions and individual download links.

Development

Visit the GitHub project.

License

StAXON is available under the Apache License, Version 2.0.

(c) 2011, 2012 Odysseus Software

Extension points exported contracts — how you extend this code

JsonStreamTarget (Interface)
JSON stream target. [17 implementers]
core/src/main/java/de/odysseus/staxon/json/stream/JsonStreamTarget.java
JsonStreamSource (Interface)
JSON stream source. [10 implementers]
core/src/main/java/de/odysseus/staxon/json/stream/JsonStreamSource.java
JsonXMLConfig (Interface)
Json XML factory configuration interface. A JsonXMLConfig instance can be used to configure eithe [2 implementers]
core/src/main/java/de/odysseus/staxon/json/JsonXMLConfig.java

Core symbols most depended-on inside this repo

next
called by 249
core/src/main/java/de/odysseus/staxon/event/SimpleXMLEventReader.java
equals
called by 179
core/src/main/java/de/odysseus/staxon/base/Pair.java
write
called by 136
core/src/main/java/de/odysseus/staxon/json/stream/util/AutoArrayTarget.java
writeStartElement
called by 107
core/src/main/java/de/odysseus/staxon/util/StreamWriterDelegate.java
close
called by 102
core/src/main/java/de/odysseus/staxon/json/JsonXMLStreamReader.java
writeEndElement
called by 97
core/src/main/java/de/odysseus/staxon/util/StreamWriterDelegate.java
getEventType
called by 83
core/src/main/java/de/odysseus/staxon/base/AbstractXMLStreamReader.java
getAnnotation
called by 82
jaxrs/src/main/java/de/odysseus/staxon/json/jaxrs/jaxb/AbstractJsonXMLProvider.java

Shape

Method 1,214
Class 149
Interface 5
Enum 3

Languages

Java100%

Modules by API surface

core/src/main/java/de/odysseus/staxon/event/SimpleXMLEventAllocator.java84 symbols
core/src/main/java/de/odysseus/staxon/base/AbstractXMLStreamReader.java78 symbols
core/src/test/java/de/odysseus/staxon/json/jaxb/JsonXMLBinderTest.java44 symbols
core/src/test/java/de/odysseus/staxon/base/AbstractXMLStreamWriterTest.java38 symbols
core/src/main/java/de/odysseus/staxon/base/AbstractXMLStreamWriter.java33 symbols
core/src/test/java/de/odysseus/staxon/event/SimpleXMLEventFactoryTest.java32 symbols
core/src/main/java/de/odysseus/staxon/json/stream/util/AutoArrayTarget.java31 symbols
core/src/main/java/de/odysseus/staxon/base/AbstractXMLStreamScope.java28 symbols
core/src/main/java/de/odysseus/staxon/util/StreamWriterDelegate.java26 symbols
core/src/main/java/de/odysseus/staxon/json/stream/impl/JsonStreamSourceImpl.java26 symbols
core/src/main/java/de/odysseus/staxon/json/JsonXMLStreamWriter.java24 symbols
core/src/test/java/de/odysseus/staxon/event/SimpleXMLFilteredEventReaderTest.java22 symbols

For agents

$ claude mcp add staxon \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page