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 String
convertToJSON
(JSONConverter converter) Converts this JSON object into an actual JSON stringMethods 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.util.pojo.OrderedMappedPojo
getKeyOrder
-
Method Details
-
convertToJSON
Converts this JSON object into an actual JSON string- Specified by:
convertToJSON
in interfaceJSONClass
- Specified by:
convertToJSON
in interfaceJSONObject
- Parameters:
converter
- A JSON converter used for converting sub-objects if needed- Returns:
- A JSON string representing this object
-