Popularity
2.1
Declining
Activity
0.5
Declining
4
12
2

Description

Framework for serialization from Java objects to Json, XML and Byte.

NetworkParser is a simple framework for serializing complex model structures. To do that it transforms a given model to an intermediate model which can be serialized. It also offers lots of filters.

For serialization you are three formats available: Json, XML and Byte. For deserialization you can use following formats: Json, XML, Byte and EMF.

The Framework have many other features like:

Programming language: Java
License: GNU General Public License v3.0 or later
Tags: Code Analysis     Database     Development     GUI     JSON     Networking     Serialization     Template Engine     Testing     Java     Distributed Systems     Code Generators     Email     Projects     HTTP Clients     Parsing     REST     XML     YAML     EMF     Modeling     Codecity    
Latest version: v4.8.1400

NetworkParser alternatives and similar libraries

Based on the "Code Generators" category.
Alternatively, view NetworkParser alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of NetworkParser or a related project?

Add another 'Code Generators' Library

README

NetworkParser

Framework for serialization from Java objects to Json, XML and Byte.

NetworkParser is a simple framework for serializing complex model structures. To do that it transforms a given model to an intermediate model which can be serialized. It also offers lots of filters.

For serialization you are three formats available: Json, XML and Byte. For deserialization you can use following formats: Json, XML, Byte and EMF.

The Framework have many other features like:

  • Calculator
  • Date with holidays
  • UML-Layouting with Javascript or Webservice like YUML
  • JavaFX Container Classes:
    • for DataBinding
    • Table with Searchfield
    • Form
    • PopupDialog
    • Basic Shell-Class with Writing Errorfiles
  • Logicstructure
  • SimpleList as universal solution for datamodels

Current Status

  • Master

    • travis-ci: Build Status <!-- - Maven: Maven Status-->
    • Coverage: Coverage Status
    • CII Best Practices CII Best Practices
    • Codacy Codacy Badge
    • Code Climate Code Climate
    • Coverity Scan: Coverity Status
    • Glitter-Chat: Join the chat at https://gitter.im/NetworkParser/Lobby
    • Java-Documentation: Javadocs
    • Maven Central: Maven Central
  • Develop

    • travis-ci: Build Status <!-- - Maven: Maven-->
    • Coverage: Coverage Status

Open Hub

JProfiler optimized

Open Source Love

Average time to resolve an issue

Percentage of issues still open

Project Managment

Join the chat at https://gitter.im/NetworkParser/Lobby

Stories in Ready

[Download latest Release](../../releases)

Getting Started

Gradle

<!-- insert_code_fragment: gradle.repositories --> repositories { mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } } <!-- end_code_fragment: --> <!-- insert_code_fragment: gradle.dependencies --> dependencies { compile group: "de.uniks", name: "NetworkParser", version: "latest.integration", classifier:"sources18", changing: true } <!-- end_code_fragment: -->

Installation

$ git clone https://github.com/fujaba/NetworkParser.git

Maven artifacts

Maven artifacts are available at:

Usage

Simple Example with ClassModelBuilder for build a small class model:

ClassModelBuilder mb = new ClassModelBuilder("de.uniks.studyright");
Clazz uni = mb.buildClass("University").withAttribute("name", DataType.STRING);
Clazz student = mb.buildClass("Student").withAttribute("matNo", DataType.INT);

uni.withAssoc(student, "students", Association.MANY, "uni", Association.ONE);
Clazz room = mb.buildClass("Room")
    .withAttribute("roomNo", DataType.STRING);
uni.withAssoc(room, "rooms", Association.MANY, "uni", Association.ONE);
ClassModel model = mb.build();

Simple Example with Old ClassModel for build a small class model:

ClassModel model = new ClassModel("de.uniks.studyright");
Clazz uni = model.createClazz("University").withAttribute("name", DataType.STRING);
Clazz student = model.createClazz("Student").withAttribute("matNo", DataType.INT);

uni.withAssoc(student, "students", Association.MANY, "uni", Association.ONE);
Clazz room = model.createClazz("Room").withAttribute("roomNo", DataType.STRING);
uni.withAssoc(room, "rooms", Association.MANY, "uni", Association.ONE);
model.generate();

[simple class diagram](doc/SimpleClassDiagram.png)

<!--- Here are a simple Usage of IdMap for serialization and deserialization {{md '..src/test/java/de/uniks/networkparser/test/SimpleUsage.java[tag=serialization]'}} -->

  • [serialization](example.adoc "simple Serialization")

Maven Snapshot

pom.xml

<dependency>
    <groupId>de.uniks</groupId>
    <artifactId>NetworkParser</artifactId>
    <version>4.2.*</version>
</dependency>

<repositories>
    <repository>
        <releases><enabled>false</enabled></releases>
        <snapshots><enabled>true</enabled></snapshots>
        <id>Sonatype Snapshots</id>
        <name>Sonatype Snapshots</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </repository>
</repositories>

Building Jar

Gradle Command Description
task Show task to run
clean Deletes the build directory.
buildAll Build All Jars
buildCoreJar Build Jar with NetworkParser-Core without dependency of JavaFX and Reflection
buildFullJar Build FullJar with Class-Files, Source-Files and JavaDoc
buildJavadoc Build JavaDoc Jar
buildSourceJar Build Jar with class-Files and Source-Files
jar Assembles a jar archive containing the main classes.

Links

  • [SimpleJsonTest](src/test/java/de/uniks/networkparser/test/SimpleJsonTest.java "Sourcecode SimpleJsonTest.java")
  • [House](src/test/java/de/uniks/networkparser/test/model/House.java "Sourcecode House.java")
  • [HouseCreator](src/test/java/de/uniks/networkparser/test/model/util/HouseCreator.java "Sourcecode HouseCreator.java")
  • The issue list: Head straight to https://github.com/fujaba/NetworkParser/issues for a list of all issues or click Issues in the navigation bar on the right.
  • See also on Openhub https://www.openhub.net/p/NetworkParser

Spenden

Donate

License

NetworkParser is released under an [The MIT License](src/main/resources/Licence.txt). MIT Licence


*Note that all licence references and agreements mentioned in the NetworkParser README section above are relevant to that project's source code only.