All Projects → jmapper-framework → Jmapper Core

jmapper-framework / Jmapper Core

Licence: apache-2.0
Elegance, high performance and robustness all in one java bean mapper

Programming Languages

java
68154 projects - #9 most used programming language
bytecode
52 projects

Projects that are alternatives of or similar to Jmapper Core

Quip Export
Export all folders and documents from Quip
Stars: ✭ 28 (-82.39%)
Mutual labels:  api, annotations
Countries States Cities Database
🌍 World countries, states, regions, provinces, cities, towns in JSON, SQL, XML, PLIST, YAML, and CSV. All Countries, States, Cities with ISO2, ISO3, Country Code, Phone Code, Capital, Native Language, Timezones, Latitude, Longitude, Region, Subregion, Flag Emoji, and Currency. #countries #states #cities
Stars: ✭ 1,130 (+610.69%)
Mutual labels:  api, xml
Response Xml
The missing XML support for Laravel's Response class.
Stars: ✭ 56 (-64.78%)
Mutual labels:  api, xml
Dog Ceo Api
The API hosted at dog.ceo
Stars: ✭ 393 (+147.17%)
Mutual labels:  api, xml
Mapster
A fast, fun and stimulating object to object Mapper
Stars: ✭ 1,375 (+764.78%)
Mutual labels:  mapper, mapping
Array To Xml
A simple class to convert an array to xml
Stars: ✭ 744 (+367.92%)
Mutual labels:  api, xml
Ohloh api
Ohloh API examples
Stars: ✭ 64 (-59.75%)
Mutual labels:  api, xml
Php Curl Class
PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs
Stars: ✭ 2,903 (+1725.79%)
Mutual labels:  api, xml
Spring Boot Api Project Seed
🌱🚀一个基于Spring Boot & MyBatis的种子项目,用于快速构建中小型API、RESTful API项目~
Stars: ✭ 8,979 (+5547.17%)
Mutual labels:  api, mapper
Object Mapper
ObjectMapper is a class for automatic object mapping in Python
Stars: ✭ 72 (-54.72%)
Mutual labels:  mapper, mapping
Jekyll
Jekyll-based static site for The Programming Historian
Stars: ✭ 387 (+143.4%)
Mutual labels:  api, mapping
Scobot
SCORM API for Content. JavaScript library, QUnit tests and examples.
Stars: ✭ 128 (-19.5%)
Mutual labels:  api, xml
Agilemapper
A zero-configuration, highly-configurable, unopinionated object mapper with viewable execution plans. Flattens, unflattens, deep clones, merges, updates and projects queries. Targets .NET 3.5+ and .NET Standard 1.0+
Stars: ✭ 345 (+116.98%)
Mutual labels:  mapper, mapping
Mappinggenerator
🔄 "AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time.
Stars: ✭ 831 (+422.64%)
Mutual labels:  mapper, mapping
Pathfinder
Mapping tool for EVE ONLINE
Stars: ✭ 308 (+93.71%)
Mutual labels:  api, mapper
Mqcms
🤖 ⚡️ 麻雀虽小 五脏俱全 基于hyperf的快速优雅的应用开发框架
Stars: ✭ 64 (-59.75%)
Mutual labels:  api, annotations
Poiji
🍬 A tiny library converting excel rows to a list of Java objects based on Apache POI
Stars: ✭ 255 (+60.38%)
Mutual labels:  mapper, mapping
Substance
A JavaScript library for web-based content editing.
Stars: ✭ 2,737 (+1621.38%)
Mutual labels:  xml, annotations
Jokeapi
A REST API that serves uniformly and well formatted jokes in JSON, XML, YAML or plain text format that also offers a great variety of filtering methods
Stars: ✭ 71 (-55.35%)
Mutual labels:  api, xml
Kripton
A Java/Kotlin library for Android platform, to manage bean's persistence in SQLite, SharedPreferences, JSON, XML, Properties, Yaml, CBOR.
Stars: ✭ 110 (-30.82%)
Mutual labels:  xml, annotations

JMapper Framework Join the chat at https://gitter.im/jmapper-framework/jmapper-core Donate

Fast as hand-written code with zero compromise.

Artifact information

Maven Central Javadocs Dependency Status

Status

Codacy Badge Build Status

Write the configuration using what you prefer: Annotation, XML or API.

Most relevant features:

especially its use is intuitive

Configuration

Below it is shown the same configuration in the three types allowed

Annotation
class Destination{                      class Source{
    @JMap
    private String id;                      private String id;
    @JMap("sourceField")                    
    private String destinationField;        private String sourceField;
    private String other;                   private String other;

    // getters and setters...               // getters and setters...
}                                       }
XML
<jmapper>
  <class name="it.jmapper.bean.Destination">
    <attribute name="id">
      <value name="id"/>
    </attribute>
    <attribute name="destinationField">
      <value name="sourceField">
    </attribute>
  </class>
</jmapper>
API
JMapperAPI jmapperAPI = new JMapperAPI()
    .add(mappedClass(Destination.class)
             .add(attribute("id")
                     .value("id"))
             .add(attribute("destinationField")
                     .value("sourceField")));

Creation

JMapper<Destination, Source> mapper;
Annotation
mapper = new JMapper<>(Destination.class, Source.class);
XML
mapper = new JMapper<>(Destination.class, Source.class, xml);
API
mapper = new JMapper<>(Destination.class, Source.class, jmapperAPI);

Usage

Source source = new Source("id", "sourceField", "other");
Destination destination = mapper.getDestination(source);

Result

destination ["id", "sourceField", null]

With JMapper we have all the advantages of dynamic mapping with the performance of static code, with 0 memory consumption.
Required java 5+

Would you like to contribute to the development of JMapper?
contact us ([email protected]) for more information.

Follow us on twitter

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].