Java Bean to Code Serializer

This code takes a java bean and tries to serialize it as java code that sets recursively all the fields. This is useful if you want to mock an object and already get the object somewhere but you want to put it in the code.

License

License

Categories

Categories

Java Languages
GroupId

GroupId

de.apaxo.test
ArtifactId

ArtifactId

java-bean-to-code-serializer
Last Version

Last Version

0.7
Release Date

Release Date

Type

Type

jar
Description

Description

Java Bean to Code Serializer
This code takes a java bean and tries to serialize it as java code that sets recursively all the fields. This is useful if you want to mock an object and already get the object somewhere but you want to put it in the code.
Project URL

Project URL

https://github.com/ManuelB/java-bean-to-code-serializer/
Project Organization

Project Organization

Apaxo GmbH

Download java-bean-to-code-serializer

How to add to project

<!-- https://jarcasting.com/artifacts/de.apaxo.test/java-bean-to-code-serializer/ -->
<dependency>
    <groupId>de.apaxo.test</groupId>
    <artifactId>java-bean-to-code-serializer</artifactId>
    <version>0.7</version>
</dependency>
// https://jarcasting.com/artifacts/de.apaxo.test/java-bean-to-code-serializer/
implementation 'de.apaxo.test:java-bean-to-code-serializer:0.7'
// https://jarcasting.com/artifacts/de.apaxo.test/java-bean-to-code-serializer/
implementation ("de.apaxo.test:java-bean-to-code-serializer:0.7")
'de.apaxo.test:java-bean-to-code-serializer:jar:0.7'
<dependency org="de.apaxo.test" name="java-bean-to-code-serializer" rev="0.7">
  <artifact name="java-bean-to-code-serializer" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.apaxo.test', module='java-bean-to-code-serializer', version='0.7')
)
libraryDependencies += "de.apaxo.test" % "java-bean-to-code-serializer" % "0.7"
[de.apaxo.test/java-bean-to-code-serializer "0.7"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

Versions

Version
0.7
0.6