Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Modern XML Parser for Android

License

NotificationsYou must be signed in to change notification settings

Tickaroo/tikxml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please note that this is stillwork 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 thisapt plugin

For koltin project (android or pure) usekotlin-kapt plugin and usekapt instead ofannotationProcessor in dependencies section ofbuild.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, anAutoValue extension is available:

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

Latest snapshot0.9.0_11-SNAPSHOT available:

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

Documentation

Thedocumentation (<= 0.8.x) can be foundhere

Thedocumentation (>= 0.9.x) can be foundhere

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 TickarooLicensed 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.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations 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 lookat this document

About

Modern XML Parser for Android

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors12


[8]ページ先頭

©2009-2025 Movatter.jp