Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shannah/cn1-mirah-json-macros
A Codename One application implementing macros for mapping from JSON to POJO
https://github.com/shannah/cn1-mirah-json-macros
Last synced: about 1 month ago
JSON representation
A Codename One application implementing macros for mapping from JSON to POJO
- Host: GitHub
- URL: https://github.com/shannah/cn1-mirah-json-macros
- Owner: shannah
- Created: 2014-11-24T20:14:28.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-08-20T13:03:15.000Z (over 6 years ago)
- Last Synced: 2023-04-01T05:43:05.705Z (over 1 year ago)
- Language: Java
- Size: 29.4 MB
- Stars: 2
- Watchers: 3
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Codename One Reflection Utilities
This library and associated macro-pack provide pseudo-reflection features for Codename One Applications. Some applications for these tools include JSON parsing to and from Java objects, wrapping Java Objects with a `Map` interface, copying object properties without boiler-plate code and more.
## Requirements
1. Netbeans 7.4 or higher with Codename One plugin
2. Codename One DataMapper Lib
3. Netbeans Mirah Module 1.0.26 or higher## Installation
1. Install the `CN1DataMapper` library by downloading the `CN1DataMapper2.cn1lib` file from the [latest release](https://github.com/shannah/cn1-mirah-json-macros/releases/latest) and copying it into your Codename One project's `lib` directory. (See [the CN1DataMapper project](https://github.com/shannah/cn1-data-utils) for more detailed install instructions).
2. Copy `CN1MirahJSON-macros.jar` from the [latest release](https://github.com/shannah/cn1-mirah-json-macros/releases/latest) into your Codename One project's `lib/mirah/macros` directory.
3. Right click your project in the project explorer, and select "Refresh Libs"
4. Select "Clean & Build" project.## Using The Tools In this Library
1. [JSON Parsing](docs/json.md)
2. [Reflection(ish) support and POJO Wrappers](docs/beans.md) to be able to interact with them using the `Map` interface.
3. [Javadocs](https://rawgit.com/shannah/cn1-data-utils/master/dist/javadoc/index.html)