Package com.github.tadukoo.parsing.json
Class AbstractJSONClass
java.lang.Object
com.github.tadukoo.util.pojo.AbstractMappedPojo
com.github.tadukoo.parsing.json.AbstractJSONClass
- All Implemented Interfaces:
JSONClass,JSONObject,com.github.tadukoo.util.pojo.MappedPojo
- Direct Known Subclasses:
AbstractOrderedJSONClass
public abstract class AbstractJSONClass
extends com.github.tadukoo.util.pojo.AbstractMappedPojo
implements JSONClass
Abstract JSON Class is a simple implementation of
JSONClass that uses AbstractMappedPojo for its
implementation.- Since:
- Alpha v.0.1
- Version:
- Alpha v.0.2
- Author:
- Logan Ferree (Tadukoo)
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs an AbstractJSONClass with an empty mapprotectedAbstractJSONClass(com.github.tadukoo.util.pojo.MappedPojo pojo) Constructs an AbstractJSONClass and uses the given pojo for field mappings -
Method Summary
Methods inherited from class com.github.tadukoo.util.pojo.AbstractMappedPojo
getMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.tadukoo.parsing.json.JSONClass
buildJSON, convertToJSON, getJSONArrayItem, getJSONArrayItemNoThrow, getJSONArrayItemNoThrowMethods inherited from interface com.github.tadukoo.util.pojo.MappedPojo
clear, getItem, getKeys, getListItem, getListItemNoThrow, getListItemNoThrow, getMap, getPojoItem, getPojoItemNoThrow, getPojoItemNoThrow, hasItem, hasKey, isEmpty, removeItem, setItem
-
Constructor Details
-
AbstractJSONClass
protected AbstractJSONClass()Constructs an AbstractJSONClass with an empty map -
AbstractJSONClass
protected AbstractJSONClass(com.github.tadukoo.util.pojo.MappedPojo pojo) Constructs an AbstractJSONClass and uses the given pojo for field mappings- Parameters:
pojo- AMappedPojoto use for field mappings
-