public class JsonUtil extends Object
| Constructor and Description |
|---|
JsonUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
intValue(org.json.simple.JSONObject o,
String key)
Extract int value from JSON object stored using key with given key.
|
static long |
longValue(org.json.simple.JSONObject o,
String key)
Extract long value from JSON object stored using key with given key.
|
static String |
stringValue(org.json.simple.JSONObject o,
String key)
Extract String value from JSON object stored using key with given name.
|
public static long longValue(org.json.simple.JSONObject o,
String key)
o - JSON object.key - Key name.public static int intValue(org.json.simple.JSONObject o,
String key)
o - JSON object.key - Key name.public static String stringValue(org.json.simple.JSONObject o, String key)
o - JSON object.key - Key name.Copyright © 2016–2020 Wultra s.r.o.. All rights reserved.