Skip to content

shannah/cn1-mirah-json-macros

Repository files navigation

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

About

A Codename One application implementing macros for mapping from JSON to POJO

Resources

Stars

Watchers

Forks

Packages

No packages published