Skip to content
Matt Dean edited this page Jan 3, 2018 · 8 revisions

This is for version 0.9.0 and below. The documentation for v1.0.0+ can be found here

Hierarchy

JsonModel is the superclass for all JSON-based models in JRAW. Most models will extend either Thing or its superclass, RedditObject.

Last updated for v0.6.0
UML diagram for the models in v0.6.0

Data Retrieval

The workings behind getter methods of models are not the same as most Java objects. All models are instantiated with a Jackson JsonNode. Each getter method retrieves a value from the "data" node (see here for an example) by using a key specific to that method.

Clone this wiki locally