Giter VIP home page Giter VIP logo

networkparser's Introduction

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
  • Coverage: Coverage Status
  • Coverity Scan Coverity Status
  • CII Best Practices CII Best Practices
  • Codacy Codacy Badge
  • Code Climate Code Climate
  • Develop
    • travis-ci: Build Status
  • Coverage: Coverage Status

Open Hub

Getting Started

Installation

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

#Maven artifacts Maven artifacts are available at:

#Usage Here are a simple Usage of JsonIdMap for serialization and deserialization and get UpdateMessages

	House house=new House();
	house.setFloor(4);
	house.setName("University");
	IdMap map=new IdMap().withCreator(new HouseCreator());
	map.withUpdateListenerSend(new UpdateListener() {
		@Override
		public boolean update(String typ, BaseItem source, Object target, String property, Object oldValue,
				Object newValue) {
			System.out.println(source);
			return false;
		}
	});
	
	JsonObject json = map.toJsonObject(house);
	String string=json.toString();
	
	IdMap decodeMap=new IdMap().withCreator(new HouseCreator());
	House newHouse = (House) decodeMap.decode(string);

	house.setFloor(42);

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

Spenden

Donate

License

NetworkParser is released under an The MIT License.

networkparser's People

Contributors

chrre avatar digitalhoax avatar eicke123 avatar nikeee avatar pcopei avatar stefanlindel avatar tgeorgese avatar zasch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.