public class JodelParser
extends java.lang.Object
Constructor and Description |
---|
JodelParser() |
Modifier and Type | Method and Description |
---|---|
static JodelPost |
getParsedJodel(java.lang.String jodelJSON)
Parses a single Jodel (with replies)
|
static java.util.List<JodelPost> |
getParsedJodels(java.lang.String jodelsJSON)
Parses a list of Jodels
|
static JodelPost |
getParsedJodelV3(java.lang.String jodelJSON)
Parses a single Jodel (with replies) in V3 of API
|
static java.util.List<JodelNotification> |
getParsedNotifications(java.lang.String notificationsJSON)
Parses a list of Jodel-notifications
|
public static java.util.List<JodelPost> getParsedJodels(java.lang.String jodelsJSON)
jodelsJSON
- String containing a JSON with jodels (from rawResponse)public static JodelPost getParsedJodel(java.lang.String jodelJSON)
jodelJSON
- String containing a JSON with a single jodel (from rawResponse)public static JodelPost getParsedJodelV3(java.lang.String jodelJSON)
jodelJSON
- String containing a JSON with a single jodel (from rawResponse)public static java.util.List<JodelNotification> getParsedNotifications(java.lang.String notificationsJSON)
notificationsJSON
- String containing a JSON with notifications