Permalink
Browse files

unquote

  • Loading branch information...
1 parent ba19da2 commit b469c96f4f1f097270ec4683cc555eac3def8b3c @davemeehan davemeehan committed Sep 19, 2012
Showing with 1 addition and 21 deletions.
  1. +1 −21 neo4j.go
View
22 neo4j.go
@@ -696,27 +696,7 @@ func (this *Neo4j) unmarshalNode(template map[string]interface{}) (*NeoTemplate,
case map[string]interface{}:
switch k {
case "data":
- //node.Data = vv
- var uqData map[string]interface{}
-
- for dk, dv := range vv {
- dvv, _ := dv.(string)
- dvv, err := strconv.Unquote(dvv)
- if err != nil {
- log.Printf("unquote error: %v",err)
- }
- uqData[dk] = dvv
- }
- log.Printf("uqData is: %#v",uqData)
- /*
- var uqData interface{}
- uqData, err := strconv.Unquote(string(vv))
- if err != nil {
- return nil, err
- }
- */
- node.Data = uqData
-
+ node.Data = vv
case "extensions":
node.Extensions = vv
}

0 comments on commit b469c96

Please sign in to comment.