|
package net.mindoverflow.webmarker.utils;
|
|
|
|
import com.google.gson.JsonObject;
|
|
import com.google.gson.JsonParser;
|
|
|
|
public class FileUtils {
|
|
|
|
|
|
public static JsonObject stringToJson(String body)
|
|
{
|
|
JsonParser jsonParser = new JsonParser();
|
|
return (JsonObject) jsonParser.parse(body);
|
|
}
|
|
}
|