Interface OrderedJSONClass

All Superinterfaces:
JSONClass, JSONObject, com.github.tadukoo.util.pojo.MappedPojo, com.github.tadukoo.util.pojo.OrderedMappedPojo
All Known Implementing Classes:
AbstractOrderedJSONClass

public interface OrderedJSONClass extends JSONClass, com.github.tadukoo.util.pojo.OrderedMappedPojo
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 Type
    Method
    Description
    default String
    Converts this JSON object into an actual JSON string

    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.util.pojo.OrderedMappedPojo

    getKeyOrder
  • Method Details

    • convertToJSON

      default String convertToJSON(JSONConverter converter)
      Converts this JSON object into an actual JSON string
      Specified by:
      convertToJSON in interface JSONClass
      Specified by:
      convertToJSON in interface JSONObject
      Parameters:
      converter - A JSON converter used for converting sub-objects if needed
      Returns:
      A JSON string representing this object