Simple API to read and write XML

A modern XML API for Android and Java

License

License

GroupId

GroupId

com.tickaroo.tikxml
ArtifactId

ArtifactId

core
Last Version

Last Version

0.8.15
Release Date

Release Date

Type

Type

jar
Description

Description

Simple API to read and write XML
A modern XML API for Android and Java
Project URL

Project URL

https://github.com/Tickaroo/tikxml
Source Code Management

Source Code Management

https://github.com/Tickaroo/tikxml

Download core

How to add to project

<!-- https://jarcasting.com/artifacts/com.tickaroo.tikxml/core/ -->
<dependency>
    <groupId>com.tickaroo.tikxml</groupId>
    <artifactId>core</artifactId>
    <version>0.8.15</version>
</dependency>
// https://jarcasting.com/artifacts/com.tickaroo.tikxml/core/
implementation 'com.tickaroo.tikxml:core:0.8.15'
// https://jarcasting.com/artifacts/com.tickaroo.tikxml/core/
implementation ("com.tickaroo.tikxml:core:0.8.15")
'com.tickaroo.tikxml:core:jar:0.8.15'
<dependency org="com.tickaroo.tikxml" name="core" rev="0.8.15">
  <artifact name="core" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.tickaroo.tikxml', module='core', version='0.8.15')
)
libraryDependencies += "com.tickaroo.tikxml" % "core" % "0.8.15"
[com.tickaroo.tikxml/core "0.8.15"]

Dependencies

compile (1)

Group / Artifact Type Version
com.squareup.okio : okio jar 2.1.0

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.assertj : assertj-core jar 3.11.1

Project Modules

There are no modules declared in this project.

Work in Progress

Please note that this is still work in progress!, although quite stable and used in production. CircleCI

TikXML

A fast xml parser for android (and java)

implementation 'com.tickaroo.tikxml:annotation:0.8.15'
implementation 'com.tickaroo.tikxml:core:0.8.15'

annotationProcessor 'com.tickaroo.tikxml:processor:0.8.15'

For pure java project use this apt plugin

For koltin project (android or pure) use kotlin-kapt plugin and use kapt instead of annotationProcessor in dependencies section of build.gradle.

(NOTE: In IDEA for non-android project this won't run annotation processor if you didn't set project to delegate build to gradle)

For retrofit2:

implementation 'com.tickaroo.tikxml:retrofit-converter:0.8.15'

Also, an AutoValue extension is available:

annotationProcessor 'com.tickaroo.tikxml:auto-value-tikxml:0.8.15'

Latest snapshot 0.9.0_11-SNAPSHOT available:

repositories {
  mavenCentral()
  maven {
    url 'http://oss.sonatype.org/content/repositories/snapshots'
  }
}

Documentation

The documentation (<= 0.8.x) can be found here

The documentation (>= 0.9.x) can be found here

Benchmark

We did benchmark on this early version of TikXml to compare field's results with other popular xml parsers like SimpleXml and Jackson. TikXml is working around 1,9 times faster than jackson and 4,3 times faster than SimpleXml by also having a low memory footprint: Benchmark

TikXml has been built on top of Okio and therefore is highly optimized for Retrofit2.

License

Copyright 2015 Tickaroo

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Releasing on Maven Central

If you are a Tickaroo employee and you want to release a new version on Maven Central, take a look at this document

com.tickaroo.tikxml

Tickaroo

Versions

Version
0.8.15
0.8.13