List of usage examples for org.json.simple JSONAware interface-usage
From source file naftoreiclag.villagefive.util.json.JSONThingy.java
public interface JSONThingy extends JSONAware { // The JsonIndexes are used only for preserving object references when saving/loading with JSON. // Specifically, it refers to the index of this object in a JSONArray and therefore does not require saving. // public abstract <ConcreteJSONThingy extends JSONThingy> ConcreteJSONThingy fromJson(JSONObject data); public abstract long getJsonIndex();
From source file de.cgarbs.lib.json.type.JSONType.java
/**
* Base class for JSON type conversion.
* This mainly adds some metadata for later
* retrieval of data (from JSON to Java Objects).
*
* @author Christian Garbs <mitch@cgarbs.de>
From source file org.imsglobal.lti.toolProvider.ContentItem.java
public class ContentItem implements JSONAware { /** * Class to represent a content-item object * * @author Stephen P Vickers <svickers@imsglobal.org>
From source file naftoreiclag.villagefive.Inventory.java
public class Inventory implements JSONAware { public InventoryRenderAppState state; public Map<Integer, InvItem> items = new HashMap<Integer, InvItem>(); private void callListeners(int slot) { if (state != null) {
From source file naftoreiclag.villagefive.InvItem.java
public final class InvItem implements JSONAware { // TODO: lazy loaded entities. public Entity entity; protected Inventory inv;
From source file com.conwet.silbops.util.JSONizable.java
/** * Interface to be implemented by JSON-serializable objects. * * @author sortega */ public interface JSONizable extends JSONAware {
From source file com.eatthepath.gtfs.realtime.Vehicle.java
public class Vehicle implements JSONAware { private final String id; private transient String label; private transient String licensePlate;
From source file uk.ac.susx.tag.method51.twitter.geocoding.LocationMatch.java
/**
* Created with IntelliJ IDEA.
* User: simon
* Date: 05/01/2013
* Time: 12:35
* To change this template use File | Settings | File Templates.
From source file me.prokopyl.storagemonitor.beans.JavaBean.java
public class JavaBean implements Serializable, JSONAware { public String getBeanName() { String className = this.getClass().getName(); return className.substring(className.lastIndexOf('.') + 1); }
From source file at.uni_salzburg.cs.ckgroup.cpcc.mapper.api.IZone.java
public interface IZone extends JSONAware { enum Group { LOCAL, NEIGHBOR, FOREIGN };