aenea


License

License

GroupId

GroupId

com.github.zeab
ArtifactId

ArtifactId

aenea_2.12
Last Version

Last Version

2.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

aenea
aenea
Project URL

Project URL

https://github.com/zeab/aenea
Project Organization

Project Organization

com.github.zeab
Source Code Management

Source Code Management

https://github.com/zeab/aenea

Download aenea_2.12

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.8
org.scala-lang : scala-reflect jar 2.12.8
org.scalatest : scalatest_2.12 jar 3.0.5
org.scala-lang.modules : scala-xml_2.12 jar 1.2.0

Project Modules

There are no modules declared in this project.

Aenea

An automatic xml case class serializer and deserializer using reflection which so far has not failed me running this multithreaded with Akka.

Maven Central Build Status Codacy Badge

Xml Serialize:

import zeab.aenea.XmlSerializer._
case class MyDoubleClass(myDouble:Double)
val obj: MyDoubleClass = MyDoubleClass(1.1)
val serializedXml: Either[Throwable, String] = obj.asXml

Xml Deserialize:

case class MyBooleanClass(myBoolean:Boolean)
val expectedType: String = "MyBooleanClass"
val xml: String = "<myBooleanClass><myBoolean>false</myBoolean></myBooleanClass>"
val obj = xml.fromXml[MyBooleanClass]

Versions

Version
2.1.0
2.0.0
2.0.0-RC3
2.0.0-RC1
1.0.0