Package com.github.tadukoo.parsing.json
Interface OrderedJSONClass
- All Superinterfaces:
JSONClass,JSONObject,com.github.tadukoo.util.pojo.MappedPojo,com.github.tadukoo.util.pojo.OrderedMappedPojo
- All Known Implementing Classes:
AbstractOrderedJSONClass
JSON Class represents a collection of named values in JSON, where order matters.
It's represented using
OrderedMappedPojo.- Version:
- Alpha v.0.1
- Author:
- Logan Ferree (Tadukoo)
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringconvertToJSON(JSONConverter converter) Converts this JSON object into an actual JSON stringMethods 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.util.pojo.OrderedMappedPojo
getKeyOrder
-
Method Details
-
convertToJSON
Converts this JSON object into an actual JSON string- Specified by:
convertToJSONin interfaceJSONClass- Specified by:
convertToJSONin interfaceJSONObject- Parameters:
converter- A JSON converter used for converting sub-objects if needed- Returns:
- A JSON string representing this object
-