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
ConstructorsModifierConstructorDescriptionprotectedConstructs an AbstractOrderedJSONClass with an empty mapprotectedAbstractOrderedJSONClass(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
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, 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, setItemMethods inherited from interface com.github.tadukoo.parsing.json.OrderedJSONClass
convertToJSONMethods 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- AMappedPojoto use for field mappings
-