Package com.github.tadukoo.parsing.json
Class AbstractOrderedJSONClass
java.lang.Object
com.github.tadukoo.util.pojo.AbstractMappedPojo
com.github.tadukoo.parsing.json.AbstractJSONClass
com.github.tadukoo.parsing.json.AbstractOrderedJSONClass
- All Implemented Interfaces:
JSONClass
,JSONObject
,OrderedJSONClass
,com.github.tadukoo.util.pojo.MappedPojo
,com.github.tadukoo.util.pojo.OrderedMappedPojo
public abstract class AbstractOrderedJSONClass
extends AbstractJSONClass
implements OrderedJSONClass
Abstract Ordered JSON Class is a simple implementation of
OrderedJSONClass
that extends
AbstractJSONClass
. Subclasses will need to implement the key order.- Since:
- Alpha v.0.1
- Version:
- Alpha v.0.2
- Author:
- Logan Ferree (Tadukoo)
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructs an AbstractOrderedJSONClass with an empty mapprotected
AbstractOrderedJSONClass
(com.github.tadukoo.util.pojo.MappedPojo pojo) Constructs an AbstractOrderedJSONClass 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, 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
Methods inherited from interface com.github.tadukoo.parsing.json.OrderedJSONClass
convertToJSON
Methods inherited from interface com.github.tadukoo.util.pojo.OrderedMappedPojo
getKeyOrder
-
Constructor Details
-
AbstractOrderedJSONClass
protected AbstractOrderedJSONClass()Constructs an AbstractOrderedJSONClass with an empty map -
AbstractOrderedJSONClass
protected AbstractOrderedJSONClass(com.github.tadukoo.util.pojo.MappedPojo pojo) Constructs an AbstractOrderedJSONClass and uses the given pojo for field mappings- Parameters:
pojo
- AMappedPojo
to use for field mappings
-