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
ModifierConstructorDescriptionprotected
Constructs an AbstractJSONClass with an empty mapprotected
AbstractJSONClass
(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
getMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.tadukoo.parsing.json.JSONClass
buildJSON, convertToJSON, getJSONArrayItem, getJSONArrayItemNoThrow, getJSONArrayItemNoThrow
Methods 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
- AMappedPojo
to use for field mappings
-