Giter VIP home page Giter VIP logo

jeket / dsm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mfatihercik/dsm

0.0 1.0 0.0 4.96 MB

Declarative Stream Mapping (DSM) is a stream de/serializer library for XML and JSON. DSM allows you to make custom parsing, filtering, transforming, aggregating, grouping on any JSON or XML document at stream time(read only once).

Home Page: https://mfatihercik.github.io/dsm

License: MIT License

Java 86.93% Groovy 13.07%

dsm's Introduction

Introduction

Declarative Stream Mapping(DSM) is a stream deserializer library that makes parsing of XML and JSON easy. DSM allows you to make custom parsing, filtering, transforming, aggregating, grouping on any JSON or XML document at stream time(read only once). DSM uses yaml or json for configuration definitions

If you parsing a complex, huge file and want to have high performance and low memory usage then DSM is for you.

Features

  • Work for both XML and JSON
  • Custom stream parsing
  • Filtering by value on any field with very low cognitive complexity
  • Flexible value transformation.
  • Default value assignment
  • Custom function calling during parsing
  • Powerful Scripting (Apache JEXL, Groovy, Javascript and other jsr223 implementations are supported)
  • Multiple inheritance between DSM config file (DSM file can extends to another config file)
  • Reusable fragments support
  • Very short learning curve
  • Memory and CPU efficient
  • Partial data extraction from JSON or XML
  • String manipulation with expression

Installation

Jackson

<dependency>
  <groupId>com.github.mfatihercik</groupId>
  <artifactId>dsm</artifactId>
  <version>1.0.3</version>
</dependency>

Gradle

compile ('com.github.mfatihercik:dsm:1.0.3')

dsm's People

Contributors

mfatihercik avatar

Watchers

 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.