Class JsonReader
- java.lang.Object
-
- org.forgerock.selfservice.example.JsonReader
-
public final class JsonReader extends Object
Simple utility class to parse json string into a json value.- Since:
- 0.1.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.forgerock.json.JsonValuejsonFileToJsonValue(String filename)Given a path to a json file returns a corresponding json value.
-
-
-
Method Detail
-
jsonFileToJsonValue
public static org.forgerock.json.JsonValue jsonFileToJsonValue(String filename)
Given a path to a json file returns a corresponding json value.- Parameters:
filename- file path to json file- Returns:
- json value
-
-