jmapper-framework / Jmapper Core
Licence: apache-2.0
Elegance, high performance and robustness all in one java bean mapper
Stars: ✭ 159
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
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
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
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
Fast as hand-written code with zero compromise.
Artifact information
Status
Write the configuration using what you prefer: Annotation, XML or API.
Most relevant features:
- One to Many and Many to One relationship
- dynamic conversions, whose body adapts to every relationship
- inherited configurations, you can split the configuration along the hierarchy
- and more..
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.
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].