A Codename One application implementing macros for mapping from JSON to POJO
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CN1MirahJSONDemo
OSCONSchedule
dist
docs
lib
nbproject
src
test/ca/weblite/cn1/mirah/json
.gitignore
CodeNameOneBuildClient.jar
JavaSE.jar
README.md
build.xml
codenameone_settings.properties
icon.png
manifest.mf

README.md

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 and copying it into your Codename One project's lib directory. (See the CN1DataMapper project for more detailed install instructions).
  2. Copy CN1MirahJSON-macros.jar from the latest release 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
  2. Reflection(ish) support and POJO Wrappers to be able to interact with them using the Map interface.
  3. Javadocs