org.neo4j.server.rest.domain
Class JsonHelper
java.lang.Object
org.neo4j.server.rest.domain.JsonHelper
public class JsonHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonHelper
public JsonHelper()
jsonToMap
public static Map<String,Object> jsonToMap(String json)
throws JsonParseException
- Throws:
JsonParseException
jsonToList
public static List<Map<String,Object>> jsonToList(String json)
throws JsonParseException
- Throws:
JsonParseException
jsonToSingleValue
public static Object jsonToSingleValue(String json)
throws PropertyValueException
- Throws:
PropertyValueException
createJsonFrom
public static String createJsonFrom(Object data)
throws JsonBuildRuntimeException
- Throws:
JsonBuildRuntimeException
Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.